Skip to main content

MiniviewComponentProps

Supported props for the MiniviewComponent.

Properties​

activeTracking?​

optional activeTracking: boolean

Defaults to true, meaning the miniview will automatically track element dragging.


className?​

optional className: string

Optional CSS to add to the container element for the miniview.


clickToCenter?​

optional clickToCenter: 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?​

optional showLasso: boolean

Defaults to true - the miniview will display a lasso as the user is using the lasso in the canvas


surfaceId?​

optional surfaceId: 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?​

optional trackSelection: boolean

Defaults to true - the miniview will add a CSS class to elements whose model object is in the current selection.