ElectronMenu.insert method
ElectronMenu › insert
Unofficial
Inserts themenuItem to the pos position of the menu. Signature:
insert(pos: number, menuItem: ElectronMenuItem): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| pos | number | The position to insert at. |
| menuItem | ElectronMenuItem | The menu item to insert. |
Returns: void