diff --git a/.gitignore b/.gitignore index 435cf9a..26dd205 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /nbproject /node_modules -/bower_modules \ No newline at end of file +/bower_modules +/.idea/ diff --git a/examples/example-events.html b/examples/example-events.html index e31ea54..d76e60c 100644 --- a/examples/example-events.html +++ b/examples/example-events.html @@ -22,7 +22,11 @@ }, onExpand: function() { alert("Expanded: " + $(this).attr("id")); - }}); + }, + onClick: function(node_id) { + alert("You clicked on " + node_id); + } + }); $('#node-1').on("change", function() { alert("Event from " + $(this).attr("id")); }); @@ -73,7 +77,7 @@
-