DS Server

Javascript: TableOfContentsCollectionAddParams.hasLinks Property

Property|Introduced in 29.0

Description

Optional. Specifies whether each entry in the table of contents is a DocumentLink with a corresponding DocumentTarget.

Syntax

<boolean> TableOfContentsCollectionAddParams.hasLinks

Examples

The following example demonstrates TableOfContentsCollectionAddParams.hasLinks in a practical document-editing workflow. Optional. Specifies whether each entry in the table of contents is a DocumentLink with a corresponding DocumentTarget.

function inspectHasLinks(tableOfContentsCollectionAddParams) {
    const hasLinks = tableOfContentsCollectionAddParams.hasLinks;
    console.log("has links:", hasLinks);
}