createWebDependency
createWebDependency(dependency)Arguments
| dependency | A single HTML dependency object, created using htmlDependency. If thesrcvalue is named, thenhrefand/orfilenames must be present. | 
|---|
Value
- 
A single HTML dependency object that has an 
href-named element
  in its src.
Description
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.