Example
content.getFeature('Renderer')
Methods
destroy()
Destroys the view and removes event listeners.
render(domNode)
Renders the content at the provided domNode. StateAPI can be used to wait for completion.
Parameters:
Name | Type | Description |
---|---|---|
domNode |
HTMLElement | Specifies where the content is rendered |
Example
await content.getFeature('Renderer').render(domNode);