Members
(static) _maxTocLevel :number
Type:
- number
(static) tocItems :Array
Type:
- Array
Methods
(static) _buildTocHtmlList(items, appendTo)
Builds List of ToC Items
Parameters:
Name | Type | Description |
---|---|---|
items |
Array.<object> | ToC list of items |
appendTo |
Element | HTML Element to append ToC list to |
(static) _getTitle(el)
Get Title of Current ToC Element
Parameters:
Name | Type | Description |
---|---|---|
el |
Element | HTML element that serves as page |
(static) generateTocItems()
Generate ToC Items
(static) getHtmlFragment() → {DocumentFragment}
Generate ToC Html Fragment
Returns:
HTML list element containing Table of Contents
- Type
- DocumentFragment