Inline image component which rerenders itself when its FileNode is loaded.
Since: 6.3.0 (3.8.0)
import {UIInlineImage} from 'writer' render($$) { const el = $$('div') return el.append($$(UIInlineImage, { nodeId: imageFileNodeId })) }
nodeId
string
Required - The file/image nodeId which implements getUrl-method
draggable
boolean
true
If image should have draggable attribute or not
onLoad
function
On load callback
class
Added extra class to img-element