API Reference
@univerjs
@univerjs/ui
interfaces
Imenumanagerservice

@univerjs/ui v0.4.2Docs


Interface: IMenuManagerService

Properties

PropertyModifierTypeDefined in
menuChanged$readonlyObservable<void>packages/ui/src/services/menu/menu-manager.service.ts:35 (opens in a new tab)

Methods

appendRootMenu()

appendRootMenu(source): void

Parameters

ParameterType
sourceMenuSchemaType

Returns

void

Defined in

packages/ui/src/services/menu/menu-manager.service.ts:39 (opens in a new tab)


getMenuByPositionKey()

getMenuByPositionKey(position): IMenuSchema[]

Parameters

ParameterType
positionstring

Returns

IMenuSchema[]

Defined in

packages/ui/src/services/menu/menu-manager.service.ts:41 (opens in a new tab)


mergeMenu()

mergeMenu(source, target?): void

Parameters

ParameterType
sourceMenuSchemaType
target?MenuSchemaType

Returns

void

Defined in

packages/ui/src/services/menu/menu-manager.service.ts:37 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.