@univerjsuiindexinterfacesIcanvaspopupservice

@univerjs/ui v0.5.0-beta.1Docs


Interface: ICanvasPopupService

Properties

PropertyTypeDefined in
popups$Observable<[string, IPopup][]>submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:46

Accessors

activePopupId

Get Signature

get activePopupId(): Nullable<string>

which popup is under hovering now

Returns

Nullable<string>

Defined in

submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:53


popups

Get Signature

get popups(): [string, IPopup][]
Returns

[string, IPopup][]

Defined in

submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:48

Methods

addPopup()

addPopup(item): string

Parameters

ParameterType
itemIPopup

Returns

string

Defined in

submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:43


removeAll()

removeAll(): void

Returns

void

Defined in

submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:45


removePopup()

removePopup(id): void

Parameters

ParameterType
idstring

Returns

void

Defined in

submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:44