You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes you want to treat certain nodes as being dragged along with a particular node when it's grabbed. For example, you might want to drag along an entire component when a node within it is dragged.
Usecase : Dragging interaction participants in Factoid along with an interaction
reposition: 'drag' enables the mode on nodesMatching -- these are the nodes that get dragged with the master nodes
dragWith: otherNodes specifies the master nodes that are listened to for drag events
otherNodes can be a collection, selector, orfunction( node ){ return trueOrFalse; }
// for `reposition: 'drag'`, specify nodes that when dragged cause the matched nodes to move along// - a function that returns true for nodes to be listened to for drag events// - a selector that matches the nodes to be listened to for drag events// - a collection of nodes to be ignored (very good for performance)
dragWith: function(node){returnfalse;}
The text was updated successfully, but these errors were encountered:
Sometimes you want to treat certain nodes as being dragged along with a particular node when it's grabbed. For example, you might want to drag along an entire component when a node within it is dragged.
Usecase : Dragging interaction participants in Factoid along with an interaction
reposition: 'drag'
enables the mode onnodesMatching
-- these are the nodes that get dragged with the master nodesdragWith: otherNodes
specifies the master nodes that are listened to fordrag
eventsotherNodes
can be a collection, selector, orfunction( node ){ return trueOrFalse; }
The text was updated successfully, but these errors were encountered: