Trevixal API
    Preparing search index...

    Interface TableOfContents

    interface TableOfContents {
        element: HTMLElement;
        entries: readonly TocEntry[];
        destroy(): void;
        refresh(): void;
    }
    Index
    element: HTMLElement
    entries: readonly TocEntry[]

    The headings behind the current render, in document order.

    • Returns void

    • Rebuild from the current document. Called automatically on transactions.

      Returns void