@univerjs/sheets-drawing-ui v0.5.0-beta.1 • Docs
Interface: ICanvasFloatDom
Properties
Property | Type | Description | Defined in |
---|---|---|---|
allowTransform? | boolean | whether allow transform float-dom | sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:39 |
componentKey | string | - | sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:44 |
data? | Serializable | data of component, will save to snapshot, json-like data | sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:60 |
initPosition | IPosition | initial position of float-dom | sheets-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? | string | subUnitId of worksheet, if not set, will use current worksheet | sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:52 |
type? | DrawingTypeEnum | the float-dom type | sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:64 |
unitId? | string | unitId of workbook, if not set, will use current workbook | sheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:48 |