Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch jstree event in javascript #14

Open
GilesPercy opened this issue Sep 1, 2018 · 2 comments
Open

Catch jstree event in javascript #14

GilesPercy opened this issue Sep 1, 2018 · 2 comments

Comments

@GilesPercy
Copy link

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.

@yonicd
Copy link
Owner

yonicd commented Sep 1, 2018

the only way i know to do this is via the shiny listener, maybe @timelyportfolio knows more on this issue.

@yonicd
Copy link
Owner

yonicd commented Sep 2, 2018

or maybe @daattali would also know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants