TX Text Control .NET Server

TableOfContentsCallback Function

Function|Introduced in 29.0

Description

Callback function for table of contents related events. (see also TXTextControl.addEventListener function)

Syntax

function(<TableOfContentsEventArgs> args)

Examples

The following example demonstrates TableOfContentsCallback in a practical document-editing workflow. Callback function for table of contents related events. (see also TXTextControl.addEventListener function).

function tableOfContentsCallback(args) {
    console.log("args:", args);
}