| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/bootstrap-layout.R |
| 3 |
\name{verticalLayout} |
| 4 |
\alias{verticalLayout} |
| 5 |
\title{Lay out UI elements vertically} |
| 6 |
\usage{ |
| 7 |
verticalLayout(..., fluid = TRUE) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{...}{Elements to include within the container} |
| 11 |
|
| 12 |
\item{fluid}{\code{TRUE} to use fluid layout; \code{FALSE} to use fixed |
| 13 |
layout.} |
| 14 |
} |
| 15 |
\description{ |
| 16 |
Create a container that includes one or more rows of content (each element |
| 17 |
passed to the container will appear on it's own line in the UI) |
| 18 |
} |
| 19 |
\examples{ |
| 20 |
## Only run examples in interactive R sessions |
| 21 |
if (interactive()) { |
| 22 |
|
| 23 |
ui <- fluidPage( |
| 24 |
verticalLayout( |
| 25 |
a(href="http://example.com/link1", "Link One"), |
| 26 |
a(href="http://example.com/link2", "Link Two"), |
| 27 |
a(href="http://example.com/link3", "Link Three") |
| 28 |
) |
| 29 |
) |
| 30 |
shinyApp(ui, server = function(input, output) { }) |
| 31 |
} |
| 32 |
} |
| 33 |
\seealso{ |
| 34 |
Other layout functions: |
| 35 |
\code{\link{fillPage}()}, |
| 36 |
\code{\link{fixedPage}()}, |
| 37 |
\code{\link{flowLayout}()}, |
| 38 |
\code{\link{fluidPage}()}, |
| 39 |
\code{\link{navbarPage}()}, |
| 40 |
\code{\link{sidebarLayout}()}, |
| 41 |
\code{\link{splitLayout}()} |
| 42 |
} |
| 43 |
\concept{layout functions} |