This object provides data according to a learning path scope.
Methods
-
<inner> getLevel() → {string}
-
Gets the intention level of the section.
Returns:
The title of the path. An empty string if the path is the main path or the path has no title.
- Type
- string
-
<inner> getPageMetadata() → {module:playerapi/page/PageMetadata}
-
Gets access to the page that is attached to this element.
If the element is of type "section", the next page in order is returned.Returns:
pageMetadata or null if the section contains no pages
-
<inner> getTitle() → {string}
-
Gets the title of the section.
Returns:
The title of the section.
- Type
- string
-
<inner> getType() → {string}
-
Gets the type of the element.
Use this function to distinguish elements in the outlineView.Returns:
"section" or "page"
- Type
- string