UIInlineImage

Properties

Name Type
props props

new UIInlineImage(props)

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

Param Type
props props

Example

import {UIInlineImage} from 'writer'

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

UIInlineImage.props

Properties

Name Type Description
nodeId string The file/image nodeId which implements getUrl-method

results matching ""

    No results matching ""