| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/bootstrap.R |
| 3 |
\name{bootstrapPage} |
| 4 |
\alias{bootstrapPage} |
| 5 |
\alias{basicPage} |
| 6 |
\title{Create a Bootstrap page} |
| 7 |
\usage{ |
| 8 |
bootstrapPage(..., title = NULL, theme = NULL, lang = NULL) |
| 9 |
|
| 10 |
basicPage(...) |
| 11 |
} |
| 12 |
\arguments{ |
| 13 |
\item{...}{The contents of the document body.} |
| 14 |
|
| 15 |
\item{title}{The browser window title (defaults to the host URL of the page)} |
| 16 |
|
| 17 |
\item{theme}{One of the following: |
| 18 |
\itemize{ |
| 19 |
\item \code{NULL} (the default), which implies a "stock" build of Bootstrap 3. |
| 20 |
\item A \code{\link[bslib:bs_theme]{bslib::bs_theme()}} object. This can be used to replace a stock |
| 21 |
build of Bootstrap 3 with a customized version of Bootstrap 3 or higher. |
| 22 |
\item A character string pointing to an alternative Bootstrap stylesheet |
| 23 |
(normally a css file within the www directory, e.g. \code{www/bootstrap.css}). |
| 24 |
}} |
| 25 |
|
| 26 |
\item{lang}{ISO 639-1 language code for the HTML page, such as "en" or "ko". |
| 27 |
This will be used as the lang in the \code{<html>} tag, as in \code{<html lang="en">}. |
| 28 |
The default (NULL) results in an empty string.} |
| 29 |
} |
| 30 |
\value{ |
| 31 |
A UI definition that can be passed to the \link{shinyUI} function. |
| 32 |
} |
| 33 |
\description{ |
| 34 |
Create a Shiny UI page that loads the CSS and JavaScript for |
| 35 |
\href{https://getbootstrap.com/}{Bootstrap}, and has no content in the page |
| 36 |
body (other than what you provide). |
| 37 |
} |
| 38 |
\details{ |
| 39 |
This function is primarily intended for users who are proficient in HTML/CSS, |
| 40 |
and know how to lay out pages in Bootstrap. Most applications should use |
| 41 |
\code{\link[=fluidPage]{fluidPage()}} along with layout functions like |
| 42 |
\code{\link[=fluidRow]{fluidRow()}} and \code{\link[=sidebarLayout]{sidebarLayout()}}. |
| 43 |
} |
| 44 |
\note{ |
| 45 |
The \code{basicPage} function is deprecated, you should use the |
| 46 |
\code{\link[=fluidPage]{fluidPage()}} function instead. |
| 47 |
} |
| 48 |
\seealso{ |
| 49 |
\code{\link[=fluidPage]{fluidPage()}}, \code{\link[=fixedPage]{fixedPage()}} |
| 50 |
} |