Skip to main content

Home > @jsplumb/browser-ui-lists > JsPlumbList

JsPlumbList class#

Models a list of elements that is scrollable, and connections to the elements contained in the list are proxied onto the top of bottom edge of the list element whenever their source/target is not within the list element's current viewport.

Signature:

export declare class JsPlumbList 

Constructors#

ConstructorModifiersDescription
(constructor)(instance, el, options, id)Constructs a new instance of the JsPlumbList class

Properties#

PropertyModifiersTypeDescription
_scrollHandlerFunction
domElementjsPlumbDOMElement
idstring

Methods#

MethodModifiersDescription
destroy()Destroys the list, cleaning up the DOM.
newConnection(c, el, index)Notification that a new connection concerning this list has been added. This is not a method that should be called as part of the public API; it is for the list manager to call.