prependContent: Prepend/append extra HTML content to a widget

Description Usage Arguments Value

View source: R/htmlwidgets.R

Description

Use these functions to attach extra HTML content (primarily JavaScript and/or CSS styles) to a widget, for rendering in standalone mode (i.e. printing at the R console) or in a knitr document. These functions are NOT supported when running in a Shiny widget rendering function, and will result in a warning if used in that context. Multiple calls are allowed, and later calls do not undo the effects of previous calls.

Usage

1
2
3

Arguments

x

An HTML Widget object

...

Valid tags, text, and/or HTML, or lists thereof.

Value

A modified HTML Widget object.


htmlwidgets documentation built on May 30, 2017, 5:29 a.m.

Search within the htmlwidgets package
Search all R packages, documentation and source code