jsTree
jsTree copied to clipboard
Catch jstree event in javascript
I know I can use shiny to catch events on the tree. Is it possible to do this just using Javascript with the jsTree htmlwidget?
I have tried to use the htmlwidgets package and appendContent, but I am not sure how to set up up the listener. The jsTree documentation shows how to do it in Javascript. Other widgets seem to insert a listener using a callback.
the only way i know to do this is via the shiny listener, maybe @timelyportfolio knows more on this issue.
or maybe @daattali would also know