Menu.selectElement method
Menu › selectElement
Unofficial
Selects the menu item containing the given element, optionally opening its submenu immediately.Signature:
selectElement(el: Node, immediate?: boolean): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| el | Node | The element within the item to select. |
| immediate? | boolean | Whether to open the submenu immediately rather than after a delay. |
Returns: void