DS Server

Javascript: ContextMenuItem.dropDownIsScrollable Property

Property|Introduced in 31.0

Description

Optional. Set this to true if the item's child menu should be scrollable. The default value is false.

Syntax

<boolean> ContextMenuItem.dropDownIsScrollable

Examples

The following example demonstrates ContextMenuItem.dropDownIsScrollable in a practical document-editing workflow. Optional. Set this to true if the item's child menu should be scrollable. The default value is false.

function inspectDropDownIsScrollable(contextMenuItem) {
    const dropDownIsScrollable = contextMenuItem.dropDownIsScrollable;
    console.log("drop down is scrollable:", dropDownIsScrollable);
}