Optional
auto1500
Optional
drag?: null | ((e) => void)Callback(sourceNode, data)
null
Optional
dragCallback(sourceNode, data)
null
Optional
dragCallback(targetNode, data), return true, to enable dnd drop
null
Optional
dragCallback(targetNode, data), return false to prevent autoExpand
null
Optional
dragCallback(targetNode, data)
null
Optional
dragCallback(targetNode, data)
null
Optional
dragCallback(sourceNode, data), return true, to enable dnd drag
null
Optional
drop?: null | ((e) => void)Callback(targetNode, data)
null
Optional
dropDefault dropEffect ('copy', 'link', or 'move') when no modifier is pressed. Overidable in the dragEnter or dragOver event.
"move"
Optional
effectRestrict the possible cursor shapes and modifier operations (can also be set in the dragStart event)
"all"
Use opinionated heuristics to determine the dropEffect ('copy', 'link', or 'move')
based on effectAllowed
, dropEffectDefault
, and modifier keys.
This is recalculated before each dragEnter and dragOver event and can be
overridden there.
true
Optional
multitrue: Drag multiple (i.e. selected) nodes. Also a callback() is allowed
false
Optional
preventPrevent dropping nodes from different Wunderbaum trees
false
Optional
preventPrevent dropping items on unloaded lazy Wunderbaum tree nodes
true
Optional
preventPrevent dropping items other than Wunderbaum tree nodes
false
Optional
preventPrevent dropping nodes on own descendants
true
Optional
preventPrevent dropping nodes under same direct parent
false
Optional
preventPrevent dropping nodes 'before self', etc. (move only)
true
Optional
scroll?: booleanEnable auto-scrolling while dragging
true
Optional
scrollActive top/bottom margin in pixel
20
Optional
scrollPixel per event
5
Optional
serializeSerialize Node Data to datatransfer object
true
Optional
sourceOptional callback passed to toDict
on dragStart
null
Expand nodes after n milliseconds of hovering