AbstractDocumentView

page/AbstractDocumentView~ 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.

Constructor

(abstract) new AbstractDocumentView()

Source:

Members

(static) contextTypes

Source:

(abstract, static) masterElementId

Source:
Returns the ID of the element (the value of the id attribute) generated by this component that will contain the rendered page view.

(static) masterElementId

Source:
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.

(static) propTypes

Source:
Returns the expected types of the props passed to this component. The metaManager is used to generate the meta tags in the head and the content of the title element. The page contains the rendered HTML of the current view. The revivalSettings contains a JavaScript snippet that initializes the configuration of the IMA platform at the client-side.