DS Server

Javascript: ContextMenuEventArgs.location Property

Property|Introduced in 31.0

Description

A binary combination of ContextMenuLocation values.

Syntax

<number> ContextMenuEventArgs.location

Examples

The following example demonstrates ContextMenuEventArgs.location in a practical document-editing workflow. A binary combination of ContextMenuLocation values.

function inspectLocation(contextMenuEventArgs) {
    const location = contextMenuEventArgs.location;
    console.log("location:", location);
}