DS Server

ContextMenuEventCallback Function

Function|Introduced in 31.0

Description

Callback function for context menu related events. (see also TXTextControl.addEventListener function)

Syntax

function(<ContextMenuEventArgs> args)

Examples

The following example demonstrates ContextMenuEventCallback in a practical document-editing workflow. Callback function for context menu related events. (see also TXTextControl.addEventListener function).

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