Javascript: ContextMenuItem.dropDownIsScrollable Property
Description
Optional. Set this to true if the item's child menu should be scrollable. The default value is false.
Syntax
<boolean> ContextMenuItem.dropDownIsScrollableExamples
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);
}