@univerjs/sheets-drawing-ui v0.5.1 • Docs
Interface: IFWorksheetLegacy
Methods
addFloatDomToPosition()
addFloatDomToPosition(layer, id?): Nullable<{
dispose: () => void;
id: string;
}>
add a float dom to position
Parameters
Parameter | Type | Description |
---|---|---|
layer | IFICanvasFloatDom | float dom config |
id ? | string | float dom id, if not given will be auto generated |
Returns
Nullable
<{
dispose
: () => void
;
id
: string
;
}>
float dom id and dispose function
Name | Type | Defined in |
---|---|---|
dispose | () => void | sheets-drawing-ui/src/facade/f-worksheet.ts:34 |
id | string | sheets-drawing-ui/src/facade/f-worksheet.ts:33 |
Defined in
sheets-drawing-ui/src/facade/f-worksheet.ts:32