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.
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.