| glue_js | R Documentation |
.open = !@ & .close = @#Create a JS string with glue insertions
glue .open = !@ & .close = @#
glue_js(
js,
as_chr = FALSE,
e = rlang::caller_env(),
.open = "*{",
.close = "}*"
)
js |
|
as_chr |
|
e |
|
chr
Other shiny:
as_js(),
nm_to_id(),
path_strip_shiny(),
path_strip_to(),
read_js(),
shiny_error_recover(),
strip_html()
glue_js("$(document).ready(() => {let x = *{tolower(FALSE)}*)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.