Strip a file path to everything after resourcepath if shiny is running
path_strip_shiny.Rd
Useful for linking to internal files, such as with image source attributes <img src="[path]">
Arguments
- path
chr
- resourcepath
chr
A resource path specified in app_ui.R- leading_slash
lgl
If leading slash should be includedTRUE
or removedFALSE
.
See also
Other shiny:
as_js()
,
glue_js()
,
nm_to_id()
,
path_strip_to()
,
read_js()
,
shiny_error_recover()
,
strip_html()