Skip to content
@ng-doc/app / Class

NgDocTocElementComponent

One entry of the table of contents: a link to a heading of the page.

Decorators
@Component
Selectors
li[ng-doc-toc-element]
DeclarationTypeScript
@Component({ … })
export class NgDocTocElementComponent { … }

Members

Properties

5
elementRef: ElementRef<HTMLElement>
readonly

The list item element.

hash: InputSignal<string>
readonly input()

Id of the heading, used as the link's fragment.

level: InputSignalWithTransform<number, unknown>
readonly input()

Depth of the heading in the table of contents, from 1.

path: InputSignal<string>
readonly input()

Path of the page that holds the heading.

selected: InputSignalWithTransform<boolean, unknown>
readonly input()

Whether the heading is the section the reader is in.

Symbol
Kind
Class
Decorators
@Component
Selectors
li[ng-doc-toc-element]
Scope
@ng-doc/app
Edit this page