Plugins for common behaviors is provided for convenience.
Each package describes usages with example code.
-
animallows for animation of a node's property like moving it horizontally or some other direction -
clickto detect user mouse-clicks on a node -
double-clickto detect user mouse double-clicks on a node -
drag-otherwhen applied to a node, when that node is dragged, the plugin will move another node. This is useful for title bars where dragging the title bar actually drags its parent window -
dragwhen applied to a node, makes that node draggable with a mouse -
focusallows a node to grab keyboard focus and detect key presses -
hoverdetects when a mouse cursor hovers or moves over a node. This plugin can be used to create hover-over effects -
mouse-dragdetects a mouse-drag gesture over a node. When a mouse button-press over a node is followed by a mouse move - this is a mouse-drag. This is different from thedragplugin, because this plugin simply events on the gesture, whereasdragactually moves the node across the screen. -
is a tech demo - and has not been used in a real application. This plugin when applied to a node, detects when a node is being resized, but redirects that to another node. Analogous to aresize-otherdrag-other. -
is a tech demo - and has not been used in a real application. This plugin when applied to a node, allows the node to be resizable.resize -
side-resizewhen applied to a node and configured for one of theleft,top,left-top,right,bottom, orright-bottomwill resize its parent when the node is dragged around. Can be used to implement resizing of a node when grabbed by its side. -
zindexwhen this plugin is applied to a node, it makes all of the node's child nodes clickable. When a child-node is clicked, it changes its z-index to move to the topmost child.
-
vertwhen applied to a node will arrange its kid nodes vertically with configurable spacing -
horizlikevertexcept horizontal -
dockerallows docking of a node to its parent's borders (e.g. Top-Left docking)
Use the issues capability in Github to suggest new plugins