createWebDependency | R Documentation |
Ensure that a file-based HTML dependency (from the htmltools package) can be
served over Shiny's HTTP server. This function works by using
addResourcePath()
to map the HTML dependency's directory to a
URL.
createWebDependency(dependency, scrubFile = TRUE)
dependency |
A single HTML dependency object, created using
|
scrubFile |
If TRUE (the default), remove |
A single HTML dependency object that has an href
-named element
in its src
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.