Interface: IMenuManagerService
Defined in: submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:25
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
menuChanged$ | readonly | Observable <void > | submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:35 |
Methods
appendRootMenu()
appendRootMenu(source): void
Defined in: submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:39
Parameters
Parameter | Type |
---|---|
source | MenuSchemaType |
Returns
void
getMenuByPositionKey()
getMenuByPositionKey(position): IMenuSchema[]
Defined in: submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:41
Parameters
Parameter | Type |
---|---|
position | string |
Returns
mergeMenu()
mergeMenu(source, target?): void
Defined in: submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:37
Parameters
Parameter | Type |
---|---|
source | MenuSchemaType |
target ? | MenuSchemaType |
Returns
void