UIInlineImage

Inline image component which rerenders itself when its FileNode is loaded.

Properties

Name

Type

Description

nodeId

string

Required - The file/image nodeId which implements getUrl-method

Example

import {UIInlineImage} from 'writer'

render($$) {
    const el = $$('div')
    return el.append($$(UIInlineImage, {
        nodeId: imageFileNodeId
    }))
}

Last updated