Skip to main content

Home > @jsplumb/browser-ui > BrowserJsPlumbDefaults

BrowserJsPlumbDefaults interface#

Defaults for the BrowserUI implementation of jsPlumb.

Signature:

export interface BrowserJsPlumbDefaults extends JsPlumbDefaults<Element> 

Extends: JsPlumbDefaults<Element>

Properties#

PropertyTypeDescription
dragOptions?DragOptions(Optional) Options for dragging - containment, grid, callbacks etc.
elementsDraggable?boolean(Optional) Whether or not elements should be draggable. Default value is true.
managedElementsSelector?string(Optional) Specifies the CSS selector used to identify managed elements. This option is not something that most users of jsPlumb will need to set.
resizeObserver?boolean(Optional) Defaults to true, indicating that a ResizeObserver will be used, where available, to allow jsPlumb to revalidate elements whose size in the DOM have been changed, without the library user having to call revalidate()