@univerjssheets-drawing-uiindexinterfacesIcanvasfloatdom

@univerjs/sheets-drawing-ui v0.5.0-beta.1Docs


Interface: ICanvasFloatDom

Properties

PropertyTypeDescriptionDefined in
allowTransform?booleanwhether allow transform float-domsheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:39
componentKeystring-sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:44
data?Serializabledata of component, will save to snapshot, json-like datasheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:60
initPositionIPositioninitial position of float-domsheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:43
props?Record<string, any>Deprecated Please use data. for saving to disk, everything add to float-dom must be serializable.sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:56
subUnitId?stringsubUnitId of worksheet, if not set, will use current worksheetsheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:52
type?DrawingTypeEnumthe float-dom typesheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:64
unitId?stringunitId of workbook, if not set, will use current workbooksheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:48