@univerjs/ui v0.4.2 • Docs
Interface: ICanvasPopupService
Properties
Property | Type | Defined in |
---|---|---|
popups$ | Observable <[string , IPopup ][]> | packages/ui/src/services/popup/canvas-popup.service.ts:42 (opens in a new tab) |
Accessors
activePopupId
get activePopupId(): Nullable<string>
which popup is under hovering now
Returns
Nullable
<string
>
Defined in
packages/ui/src/services/popup/canvas-popup.service.ts:49 (opens in a new tab)
popups
get popups(): [string, IPopup][]
Returns
[string
, IPopup
][]
Defined in
packages/ui/src/services/popup/canvas-popup.service.ts:44 (opens in a new tab)
Methods
addPopup()
addPopup(item): string
Parameters
Parameter | Type |
---|---|
item | IPopup |
Returns
string
Defined in
packages/ui/src/services/popup/canvas-popup.service.ts:39 (opens in a new tab)
removeAll()
removeAll(): void
Returns
void
Defined in
packages/ui/src/services/popup/canvas-popup.service.ts:41 (opens in a new tab)
removePopup()
removePopup(id): void
Parameters
Parameter | Type |
---|---|
id | string |
Returns
void
Defined in
packages/ui/src/services/popup/canvas-popup.service.ts:40 (opens in a new tab)