@univerjsuiindexinterfacesImenumanagerservice

@univerjs/ui v0.5.4


Interface: IMenuManagerService

Defined in: submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:25

Properties

PropertyModifierTypeDefined in
menuChanged$readonlyObservable<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

ParameterType
sourceMenuSchemaType

Returns

void


getMenuByPositionKey()

getMenuByPositionKey(position): IMenuSchema[]

Defined in: submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:41

Parameters

ParameterType
positionstring

Returns

IMenuSchema[]


mergeMenu()

mergeMenu(source, target?): void

Defined in: submodules/univer/packages/ui/src/services/menu/menu-manager.service.ts:37

Parameters

ParameterType
sourceMenuSchemaType
target?MenuSchemaType

Returns

void