File: prependContent.Rd

package info (click to toggle)
r-cran-htmlwidgets 1.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 456 kB
  • sloc: makefile: 2
file content (28 lines) | stat: -rw-r--r-- 896 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/htmlwidgets.R
\name{prependContent}
\alias{prependContent}
\alias{appendContent}
\title{Prepend/append extra HTML content to a widget}
\usage{
prependContent(x, ...)

appendContent(x, ...)
}
\arguments{
\item{x}{An HTML Widget object}

\item{...}{Valid \link[htmltools]{tags}, text, and/or
\code{\link[htmltools]{HTML}}, or lists thereof.}
}
\value{
A modified HTML Widget object.
}
\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.
}