Files
shiny/man/bootstrapPage.Rd
2013-12-13 06:29:29 -05:00

49 lines
1.3 KiB
R

\name{bootstrapPage}
\alias{basicPage}
\alias{bootstrapPage}
\title{Create a Twitter Bootstrap page}
\usage{
bootstrapPage(..., responsive = TRUE, theme = NULL)
basicPage(...)
}
\arguments{
\item{...}{The contents of the document body.}
\item{responsive}{\code{TRUE} to use responsive layout
(automatically adapt and resize page elements based on
the size of the viewing device)}
\item{theme}{Alternative Bootstrap stylesheet (normally a
css file within the www directory, e.g.
\code{www/bootstrap.css})}
}
\value{
A UI defintion that can be passed to the \link{shinyUI}
function.
}
\description{
Create a Shiny UI page that loads the CSS and JavaScript
for \href{http://getbootstrap.com}{Twitter Bootstrap},
and has no content in the page body (other than what you
provide).
}
\details{
These functions are primarily intended for users who are
proficient in HTML/CSS, and know how to lay out pages in
Bootstrap. Most users should use template functions like
\code{\link{pageWithSidebar}}.
\code{basicPage} is the same as \code{bootstrapPage},
with an added \code{<div class="container-fluid">}
wrapper to provide a little padding.
}
\note{
The \code{basicPage} function is deprecated, you should
use the \code{\link{fluidPage}} function instead.
}
\seealso{
\code{\link{fluidPage}}, \code{\link{fixedPage}}
}