@univerjs/sheets-drawing-ui v0.5.1Docs


Interface: IFWorksheetLegacy

Methods

addFloatDomToPosition()

addFloatDomToPosition(layer, id?): Nullable<{
  dispose: () => void;
  id: string;
}>

add a float dom to position

Parameters

ParameterTypeDescription
layerIFICanvasFloatDomfloat dom config
id?stringfloat dom id, if not given will be auto generated

Returns

Nullable<{ dispose: () => void; id: string; }>

float dom id and dispose function

NameTypeDefined in
dispose() => voidsheets-drawing-ui/src/facade/f-worksheet.ts:34
idstringsheets-drawing-ui/src/facade/f-worksheet.ts:33

Defined in

sheets-drawing-ui/src/facade/f-worksheet.ts:32