@univerjs/ui v0.5.0-beta.1 • Docs
Interface: IMenuManagerService
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
Parameters
Parameter | Type |
---|---|
source | MenuSchemaType |
Returns
void
Defined in
submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:39
getMenuByPositionKey()
getMenuByPositionKey(position): IMenuSchema[]
Parameters
Parameter | Type |
---|---|
position | string |
Returns
Defined in
submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:41
mergeMenu()
mergeMenu(source, target?): void
Parameters
Parameter | Type |
---|---|
source | MenuSchemaType |
target ? | MenuSchemaType |
Returns
void
Defined in
submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:37