repr_-times-.htmlwidget: HTML widget representations

repr_*.htmlwidgetR Documentation

HTML widget representations

Description

Standalone HTML representation and dummy text representation.

Usage

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

Arguments

obj

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

...

ignored

Format

An object of class environment of length 4.

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.


IRkernel/repr documentation built on March 26, 2024, 3:12 a.m.