Interface MiniviewComponentProps

Supported props for the MiniviewComponent.

interface MiniviewComponentProps {
    activeTracking?: boolean;
    className?: string;
    clickToCenter?: boolean;
    surfaceId?: string;
}

Properties

activeTracking?: boolean

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

className?: string

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

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.

surfaceId?: string

ID of the surface to attach to. This is optional; JsPlumb 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.

Version :