Javascript: TXTextControl.contextMenusEnabled Property
Description
Gets or sets if a right click into the text area opens a context menu or not.
Syntax
<boolean> TXTextControl.contextMenusEnabledExamples
The following example demonstrates TXTextControl.contextMenusEnabled in a practical document-editing workflow. It gets or sets if a right click into the text area opens a context menu or not.
const contextMenusEnabled = tXTextControl.contextMenusEnabled;
console.log("context menus enabled:", contextMenusEnabled);