DS Server

Javascript: TableOfContentsEventArgs.tableOfContents Property

Property|Introduced in 29.0

Description

The table of contents' information.

Syntax

<TableOfContentsInfo> TableOfContentsEventArgs.tableOfContents

Examples

The following example demonstrates TableOfContentsEventArgs.tableOfContents in a practical document-editing workflow. The table of contents' information.

function inspectTableOfContents(tableOfContentsEventArgs) {
    const tableOfContents = tableOfContentsEventArgs.tableOfContents;
    console.log("table of contents:", tableOfContents);
}