Javascript: ContextMenuEventArgs.cancel Property
Description
Set this to true to suppress the context menu.
Syntax
<boolean> ContextMenuEventArgs.cancelExamples
The following example demonstrates ContextMenuEventArgs.cancel in a practical document-editing workflow. Set this to true to suppress the context menu.
function inspectCancel(contextMenuEventArgs) {
const cancel = contextMenuEventArgs.cancel;
console.log("cancel:", cancel);
}