prependContent | R Documentation |
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.
prependContent(x, ...)
appendContent(x, ...)
x |
An HTML Widget object |
... |
Valid tags, text, and/or
|
A modified HTML Widget object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.