Skip to content
Tauri

CheckMenuItemOptions

Defined in: menu/checkMenuItem.ts:10

Options for creating a new check menu item.

optional accelerator: string

Defined in: menu/menuItem.ts:17

Specify an accelerator for the new menu item.

MenuItemOptions.accelerator


optional action: (id) => void

Defined in: menu/menuItem.ts:19

Specify a handler to be called when this menu item is activated.

string

void

MenuItemOptions.action


optional checked: boolean

Defined in: menu/checkMenuItem.ts:12

Whether the new check menu item is enabled or not.


optional enabled: boolean

Defined in: menu/menuItem.ts:15

Whether the new menu item is enabled or not.

MenuItemOptions.enabled


optional id: string

Defined in: menu/menuItem.ts:11

Specify an id to use for the new menu item.

MenuItemOptions.id


text: string

Defined in: menu/menuItem.ts:13

The text of the new menu item.

MenuItemOptions.text


© 2025 Tauri Contributors. CC-BY / MIT