@univerjs/ui v0.5.4


Interface: IFacadeMenuItem

Defined in: submodules/univer/packages/ui/src/facade/f-menu-builder.ts:22

Properties

PropertyTypeDescriptionDefined in
actionstring | () => voidThe command to execute when the menu item is clicked. It can also be a callback function to execute any custom logic.submodules/univer/packages/ui/src/facade/f-menu-builder.ts:43
icon?stringIcon of the menu item.submodules/univer/packages/ui/src/facade/f-menu-builder.ts:30
idstringThe unique identifier of the menu item.submodules/univer/packages/ui/src/facade/f-menu-builder.ts:26
order?numberThe order of the menu item in the submenu.submodules/univer/packages/ui/src/facade/f-menu-builder.ts:47
titlestringTitle of the menu item.submodules/univer/packages/ui/src/facade/f-menu-builder.ts:34
tooltip?stringThe tooltip to show when the mouse hovers over the menu item.submodules/univer/packages/ui/src/facade/f-menu-builder.ts:38