Sha256: d64527d7484afc65e32f39604d71bd7d25ed9cd25e9401d011ab377e4375bfac
Contents?: true
Size: 643 Bytes
Versions: 7
Compression:
Stored size: 643 Bytes
Contents
--- title: tree.select name: event-tree-select --- Triggered when a tree node is selected or deselected. If a node is selected, then **event.node** contains the selected node. If a node is deselected, then the **event.node** property is null. {% highlight js %} $('#tree1').bind( 'tree.select', function(event) { if (event.node) { // node was selected var node = event.node; alert(node.name); } else { // event.node is null // a node was deselected // e.previous_node contains the deselected node } } ); {% endhighlight %}
Version data entries
7 entries across 7 versions & 1 rubygems