TX Text Control .NET Server

Javascript: ContextMenuItem.isChecked Property

Property|Introduced in 31.0

Description

Optional. Specifies whether the menu item has a check mark symbol in front of it. The default value is false.

Syntax

<boolean> ContextMenuItem.isChecked

Examples

The following example demonstrates ContextMenuItem.isChecked in a practical document-editing workflow. Optional. Specifies whether the menu item has a check mark symbol in front of it. The default value is false.

function inspectIsChecked(contextMenuItem) {
    const isChecked = contextMenuItem.isChecked;
    console.log("is checked:", isChecked);
}