repr_*.htmlwidget | R Documentation |
Standalone HTML representation and dummy text representation.
html_dependencies
## S3 method for class 'htmlwidget'
repr_text(obj, ...)
## S3 method for class 'htmlwidget'
repr_html(obj, ...)
## S3 method for class 'shiny.tag'
repr_text(obj, ...)
## S3 method for class 'shiny.tag'
repr_html(obj, ...)
## S3 method for class 'shiny.tag.list'
repr_text(obj, ...)
## S3 method for class 'shiny.tag.list'
repr_html(obj, ...)
obj |
The htmlwidget, shiny.tag, or shiny.tag.list to create a representation for |
... |
ignored |
An object of class environment
of length 4.
html_dependencies
is an environment containing the following functions.
getOption('repr.html.deduplicate')
get()
Get the list of added dependencies
add(dep)
Marks a dependency as added. Call this e.g. after appending a script tag with the dependency.
clear()
Clear the list as seen dependencies. Now everything will be added again when encountered.
dir()
Returns the directory in which the dependencies reside.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.