Optional
Readonly
fragmentPage fragment to include.
By default uses custom element identifier if present, or element tag name otherwise.
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
contentBuilds content key for the given page.
The loaded content will replace already included one only when their content key differ.
By default, uses page URL without hash part as a key. This prevents content refresh when only URL hash changes.
Content key.
Target page. Either loaded or not.
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
Page rendering specifier.
Configures @RenderPage decorator.