Create a JS string with glue insertions glue .open = !@
& .close = @#
glue_js.Rd
Create a JS string with glue insertions
glue .open = !@
& .close = @#
Usage
glue_js(
js,
as_chr = FALSE,
e = rlang::caller_env(),
.open = "*{",
.close = "}*"
)
Arguments
- js
chr
JS code to glue- as_chr
lgl
Whether to useas_js
on the outputFALSE
or as.characterTRUE
. Default FALSE- e
env
calling environment
See also
Other shiny:
as_js()
,
nm_to_id()
,
path_strip_shiny()
,
path_strip_to()
,
read_js()
,
shiny_error_recover()
,
strip_html()