AbstractDocumentView
The base class for document view components. The document view components
create the basic markup, i.e. the html
or head
elements,
along with an element that will contain the view associated with the current
route.
Note that the document views are always rendered only at the server-side and cannot be switched at the client-side. Because of this, the document view component must be pure and cannot contain a state.
Kind: global abstract class
AbstractDocumentView.masterElementId ⇒ string
Returns the ID of the element (the value of the id
attribute)
generated by this component that will contain the rendered page view.
Kind: static abstract property of AbstractDocumentView
Returns: string
- The ID of the element generated by this component that
will contain the rendered page view.
AbstractDocumentView.masterElementId
Setter for the ID of the element (the value of the id
attribute)
generated by this component that will contain the rendered page view.
This setter is used only for compatibility with the public class fields and can only be used once per component.
Kind: static property of AbstractDocumentView
Param | Type | Description |
---|---|---|
masterElementId | string |
The ID of the element generated by this component that will contain the rendered page view. |