Files
shiny/man/imageOutput.Rd
Yihui Xie 194d8a05f8 using the latest master of klutometis/roxygen (d823c3a088b20ea5e38a60d78d42ccbe9f1e1eec)
Rd text for arguments is no longer wrapped by default
2014-03-24 23:46:46 -05:00

30 lines
688 B
R

% Generated by roxygen2 (4.0.0): 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")
)
}