@univerjs/ui v0.4.2 • Docs
Class: CanvasFloatDomService
Constructors
new CanvasFloatDomService()
new CanvasFloatDomService(): CanvasFloatDomService
Returns
Properties
Property | Type | Defined in |
---|---|---|
domLayers$ | Observable <[string , IFloatDom ][]> | packages/ui/src/services/dom/canvas-dom-layer.service.ts:47 (opens in a new tab) |
Accessors
domLayers
get domLayers(): [string, IFloatDom][]
Returns
[string
, IFloatDom
][]
Defined in
packages/ui/src/services/dom/canvas-dom-layer.service.ts:49 (opens in a new tab)
Methods
addFloatDom()
addFloatDom(item): void
Parameters
Parameter | Type |
---|---|
item | IFloatDom |
Returns
void
Defined in
packages/ui/src/services/dom/canvas-dom-layer.service.ts:57 (opens in a new tab)
removeAll()
removeAll(): void
Returns
void
Defined in
packages/ui/src/services/dom/canvas-dom-layer.service.ts:68 (opens in a new tab)
removeFloatDom()
removeFloatDom(id): void
Parameters
Parameter | Type |
---|---|
id | string |
Returns
void
Defined in
packages/ui/src/services/dom/canvas-dom-layer.service.ts:62 (opens in a new tab)