js_handler_template | R Documentation |
These functions do not aim at being called as is by users, but to be passed as an argument to the create_custom_handler function.
js_handler_template(path, name, code = " ")
path |
The path to the JS script where this template will be written. |
name |
Shiny's custom handler name. |
code |
JavaScript code to be written in the function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.