Optional
Readonly
onA trigger that issues rendering.
This can be useful e.g. when component has multiple independent sub-views.
This can be one of the following:
A root state path is tracked when omitted.
When trigger is a root path (the default value), then the rendering will be triggered by any state update. Except for updates of sub-states inside RenderPath__root.
Optional
Readonly
settleWhether to settle the rendered fragment contents prior to placing them to target.
When enabled custom elements within rendered contents will be upgraded, then settled by calling
DrekFragment.settle()
method. This allows nested custom elements to render their contents offline into document
fragment prior to placing to the document.
Enabled (true
) by default.
Optional
Readonly
whenWhen to start the rendering.
One of:
settled
(the default) - start rendering when component is ComponentContext.settled settled.connected
- start rendering when component's element is ComponentContext.connected connected
to document.Optional
errorOptional
targetCreates rendering target to place the rendered fragment contents to.
By default, the content will be wrapped into element with display: contents;
CSS style and the wrapper element
will be appended to component's content root.
Rendering target.
Component context.
Generated using TypeDoc
Fragment rendering specifier.