Files
shiny/man/imageOutput.Rd
Joe Cheng dde266768c Restore HTML generating functions
These functions were temporarily ripped out of Shiny and moved
to the htmltools package. We've discovered that it's safe to
keep including them in shiny; as long as the functions in shiny
and the functions in htmltools are identical, the user won't
receive a conflict warning.
2014-05-31 08:06:03 -07:00

30 lines
688 B
R

% Generated by roxygen2 (4.0.1): do not edit by hand
\name{imageOutput}
\alias{imageOutput}
\title{Create a image output element}
\usage{
imageOutput(outputId, width = "100\%", height = "400px")
}
\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}
}
\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")
)
}