Files
shiny/man/imageOutput.Rd
2015-03-10 14:16:38 -05:00

38 lines
1.1 KiB
R

% Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/bootstrap.R
\name{imageOutput}
\alias{imageOutput}
\title{Create a image output element}
\usage{
imageOutput(outputId, width = "100\%", height = "400px", clickId = NULL,
hoverId = NULL, hoverDelay = 300, hoverDelayType = c("debounce",
"throttle"), brushId = NULL, brushColor = "#666", brushOutline = "#000",
brushOpacity = 0.3, brushDelay = 300, brushDelayType = c("debounce",
"throttle"), inline = FALSE)
}
\arguments{
\item{outputId}{output variable to read the image from}
\item{width}{Image width. Must be a valid CSS unit (like \code{"100\%"},
\code{"400px"}, \code{"auto"}) or a number, which will be coerced to a
string and have \code{"px"} appended.}
\item{height}{Image height}
\item{inline}{use an inline (\code{span()}) or block container (\code{div()})
for the output}
}
\value{
An image output element that can be included in a panel
}
\description{
Render a \link{renderImage} within an application page.
}
\examples{
# Show an image
mainPanel(
imageOutput("dataImage")
)
}