-
How do I call Javascript from R? I normally do this with shinyjs, but I have not been able to use it in the rhino-environment. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hey @dmenne! Our How-to: Write JavaScript code article briefly describes this. You'll need to mark functions in |
Beta Was this translation helpful? Give feedback.
-
Thanks for @dmenne for clarifying! To use
|
Beta Was this translation helpful? Give feedback.
Thanks for @dmenne for clarifying! To use
shinyjs::extendShinyjs()
you can do something like this:app/js/index.js
Remember to run
rhino::build_js()
whenever you editindex.js
.app/main.R