@univerjsuiindexinterfacesIcanvaspopupservice

@univerjs/ui v0.5.4


Interface: ICanvasPopupService

Defined in: submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:42

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>

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

which popup is under hovering now

Returns

Nullable<string>


popups

Get Signature

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

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

Returns

[string, IPopup][]

Methods

addPopup()

addPopup(item): string

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

Parameters

ParameterType
itemIPopup

Returns

string


removeAll()

removeAll(): void

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

Returns

void


removePopup()

removePopup(id): void

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

Parameters

ParameterType
idstring

Returns

void