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 add_js_handler()
function.
js_handler_template(path, name = "fun", code = " ")
js_template(path, code = " ")
css_template(path, code = " ")
sass_template(path, code = " ")
empty_template(path, 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. |
Used for side effect
add_js_handler()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.