The nodeBeforeDropped event handler is called before a draggable node is dropped in another position. If the event handler returns false, the drop action will be prevented.
Syntax
Javascript (Usage) | |
---|
$(function () {
// Set nodeBeforeDropped event handler function
$(".selector").wijtree({
nodeBeforeDropped : function (e, data) {
}
});
});
|
Javascript (Specification) | |
---|
nodeBeforeDropped = function (
: jQuery.Event,
: object
) { };
|
Parameters
- e
- jQuery Event object
- data
- The node widget that relates to this event.
See Also
Reference
options type
wijtree jQuery Widget