Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/app / Function

generateToc

Generate table of contents, only for headings with id

Presentation

function generateToc(container: HTMLElement): NgDocTocItem[];

Returns

Parameters

NameTypeDescription
container
HTMLElement