@univerjssheets-drawing-uifacadeinterfacesIficanvasfloatdom

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


Interface: IFICanvasFloatDom

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
allowTransform?booleanwhether allow transform float-domOmit.allowTransformsheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:39
componentKeyanyThe key of the component to be rendered in the popup. if key is a string, it will be query from the component registry. if key is a React or Vue3 component, it will be rendered directly.IFComponentKey.componentKeysheets-ui/src/facade/f-range.ts:33
data?Serializabledata of component, will save to snapshot, json-like dataOmit.datasheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:60
initPositionIPositioninitial position of float-domOmit.initPositionsheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:43
isVue3?booleanIf componentKey is a Vue3 component, this must be set to trueIFComponentKey.isVue3sheets-ui/src/facade/f-range.ts:37
props?Record<string, any>Deprecated Please use data. for saving to disk, everything add to float-dom must be serializable.Omit.propssheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:56
type?DrawingTypeEnumthe float-dom typeOmit.typesheets-drawing-ui/src/services/canvas-float-dom-manager.service.ts:64