Skip to main content
MiniviewComponentProps
Supported props for the MiniviewComponent.
NameTypeDescription
activeTracking?booleanDefaults to true, meaning the miniview will automatically track element dragging.
className?stringOptional CSS to add to the container element for the miniview.
clickToCenter?booleanDefaults to true - a click on an element in the miniview will center the related element in the surface the
miniview is attached to.
showLasso?booleanDefaults to true - the miniview will display a lasso as the user is using the lasso in the canvas
surfaceId?stringID 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?booleanDefaults to true - the miniview will add a CSS class to elements whose model object is in the current selection.