Page
Class: Page OboNode Full Name: ObojoboDraft.Pages.PageA page is a collection of one or more Chunks which make up the primary display of the document. Usually students navigate and experience the document one page at a time.
Properties
Property | Required | Type | Description |
---|---|---|---|
title | no | String | The title of the page displayed in the navigation menu. |
Supported Trigger Types
Action Type | Description |
---|---|
onMount | Fired when a node is added to the DOM |
onUnmount | Fired when a node is removed from the DOM |
onNavEnter | Fired when a node is navigated to |
onNavExit | Fired when a node is navigated away from |
Required Children
One or more Chunk nodes.
Variables Registered
None
Example
JSON
{
"type": "ObojoboDraft.Pages.Page",
"id": "...",
"children": [ ... ]
}
XML
<Page>
<!-- ... -->
</Page>