@univerjs/ui v0.5.0-beta.1 • Docs
Interface: ICanvasPopupService
Properties
Property | Type | Defined 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
Parameter | Type |
---|---|
item | IPopup |
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
Parameter | Type |
---|---|
id | string |
Returns
void
Defined in
submodules/univer/packages/ui/src/services/popup/canvas-popup.service.ts:44