API Reference
@univerjs
@univerjs/ui
classes
Canvasfloatdomservice

@univerjs/ui v0.4.2Docs


Class: CanvasFloatDomService

Constructors

new CanvasFloatDomService()

new CanvasFloatDomService(): CanvasFloatDomService

Returns

CanvasFloatDomService

Properties

PropertyTypeDefined 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

ParameterType
itemIFloatDom

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

ParameterType
idstring

Returns

void

Defined in

packages/ui/src/services/dom/canvas-dom-layer.service.ts:62 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.