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

Feature request: onclick and onevent can provide the javascript event details back to Shiny #92

Closed
daattali opened this issue Nov 2, 2016 · 0 comments

Comments

@daattali
Copy link
Owner

daattali commented Nov 2, 2016

The way it would look is you'd be able to provide a function (instead of an R expression) to onevent. I would still support expressions because it's easier to type than a function, and for backwards compatibility. If the function has an argument, the javascript event details could be passed as that argument. I'm pretty sure there will be problems serializing the javascript object because of cyclic values in the event.

Suggested in #91

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

1 participant