@univerjs/ui v0.4.2 • Docs
Interface: IMenuManagerService
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
menuChanged$ | readonly | Observable <void > | packages/ui/src/services/menu/menu-manager.service.ts:35 (opens in a new tab) |
Methods
appendRootMenu()
appendRootMenu(source): void
Parameters
Parameter | Type |
---|---|
source | MenuSchemaType |
Returns
void
Defined in
packages/ui/src/services/menu/menu-manager.service.ts:39 (opens in a new tab)
getMenuByPositionKey()
getMenuByPositionKey(position): IMenuSchema[]
Parameters
Parameter | Type |
---|---|
position | string |
Returns
Defined in
packages/ui/src/services/menu/menu-manager.service.ts:41 (opens in a new tab)
mergeMenu()
mergeMenu(source, target?): void
Parameters
Parameter | Type |
---|---|
source | MenuSchemaType |
target ? | MenuSchemaType |
Returns
void
Defined in
packages/ui/src/services/menu/menu-manager.service.ts:37 (opens in a new tab)