Tree API

Name Description Type Default
data data for Tree nodes. It must be array array []
className you can give className to tree components. string null
draggable whether use or not drag event. bool true
icons customize icons elements, function(icons) -
onClick you can add some logics through this function when tree node is clicked function -
onExpand you can add some logics through this function when tree nodes are expanded function -
getData you can get data from this function function() -
onDragStart function(event) -
onDragEnter function(event) -
onDrag function(event) -