Interface: IContextMenuHandler
Defined in: submodules/univer/packages/ui/src/services/contextmenu/contextmenu.service.ts:21
Accessors
visible
Get Signature
get visible(): boolean
Defined in: submodules/univer/packages/ui/src/services/contextmenu/contextmenu.service.ts:26
Returns
boolean
Methods
handleContextMenu()
handleContextMenu(event, menuType): void
Defined in: submodules/univer/packages/ui/src/services/contextmenu/contextmenu.service.ts:23
A callback to open context menu with given position and menu type.
Parameters
Parameter | Type |
---|---|
event | | IMouseEvent | IPointerEvent |
menuType | string |
Returns
void
hideContextMenu()
hideContextMenu(): void
Defined in: submodules/univer/packages/ui/src/services/contextmenu/contextmenu.service.ts:24
Returns
void