DS Server

Javascript: TXTextControl.contextMenusEnabled Property

Property|Introduced in 24.0

Description

Gets or sets if a right click into the text area opens a context menu or not.

Syntax

<boolean> TXTextControl.contextMenusEnabled

Examples

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);