Home > @jsplumb/browser-ui
browser-ui package#
This package is a renderer for the jsPlumb Community edition that uses a single SVG element per connection, and can connect HTML/SVG elements in the DOM. For users of version of jsPlumb prior to 5.x, this package is the equivalent to what used to just be known as "jsPlumb".
In actual fact only this renderer exists for the 5.x Community edition, but the code in 5.x is now architected in such a way that alternative renderers could be implemented.
Classes#
Enumerations#
Functions#
Function | Description |
---|
addClass(el, clazz) | |
compoundEvent(stem, event, subevent) | |
consume(e, doNotPreventDefault) | |
createElement(tag, style, clazz, atts) | |
createElementNS(ns, tag, style, clazz, atts) | |
findParent(el, selector, container, matchOnElementAlso) | |
getClass(el) | |
getEventSource(e) | |
getTouch(touches, idx) | |
hasClass(el, clazz) | |
isArrayLike(el) | |
isInsideParent(instance, _el, pos) | |
isNodeList(el) | |
matchesSelector(el, selector, ctx) | |
newInstance(defaults) | |
offsetRelativeToRoot(el) | |
pageLocation(e) | |
ready(f) | |
registerEndpointRenderer(name, fns) | |
removeClass(el, clazz) | |
size(el) | |
toggleClass(el, clazz) | |
touchCount(e) | |
touches(e) | |
Interfaces#
Variables#
Type Aliases#