MiniviewComponentProps
Supported props for the MiniviewComponent.
Properties
activeTracking?
optionalactiveTracking:boolean
Defaults to true, meaning the miniview will automatically track element dragging.
className?
optionalclassName:string
Optional CSS to add to the container element for the miniview.
clickToCenter?
optionalclickToCenter:boolean
Defaults to true - a click on an element in the miniview will center the related element in the surface the miniview is attached to.
showLasso?
optionalshowLasso:boolean
Defaults to true - the miniview will display a lasso as the user is using the lasso in the canvas
surfaceId?
optionalsurfaceId:string
ID of the surface to attach to. This is optional; Visually JS will use the default surface ID if you do not provide this. For apps where there's only one surface there is no need to provide this.
trackSelection?
optionaltrackSelection:boolean
Defaults to true - the miniview will add a CSS class to elements whose model object is in the current selection.