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, ...)

Format

An object of class environment of length 4.

Arguments

obj

The htmlwidget, shiny.tag, or shiny.tag.list to create a representation for

...

ignored

Details

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.