ContextMenuEventArgs Object
Description
The event argument for context menu related events.
Syntax
{
items: <ContextMenuItem[]>,
location: <number>,
cancel: <boolean>
}Examples
The following example demonstrates ContextMenuEventArgs in a practical document-editing workflow. The event argument for context menu related events.
function handleContextMenu(args) {
console.log("items:", args.items);
console.log("location:", args.location);
console.log("cancel:", args.cancel);
}