Javascript: TableOfContentsCollectionAddParams.hasLinks Property
Description
Optional. Specifies whether each entry in the table of contents is a DocumentLink with a corresponding DocumentTarget.
Syntax
<boolean> TableOfContentsCollectionAddParams.hasLinksExamples
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);
}