repr_-times-.htmlwidget: HTML widget representations

Description Usage Arguments Format Details

Description

Standalone HTML representation and dummy text representation.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
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.


repr documentation built on April 14, 2018, 5:05 p.m.