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