View source: R/custom-handlers.R
Send a message from R to JavaScript every 5 seconds. The JS answer is an alert containing the message sent by R.
1 | say_hello_to_js(text, session = getDefaultReactiveDomain())
|
text |
Message to send. |
session |
Shiny session object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.