Skip to content

ElectronMenuItemConstructorOptions.before?

ElectronMenuItemConstructorOptions › before?

Unofficial

Type: string[]

Inserts this item before the item with the specified label. If the referenced item doesn't exist the item will be inserted at the end of the menu. Also implies that the item should be placed in the same group as the referenced item.