| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/bootstrap-layout.R |
| 3 |
\name{titlePanel} |
| 4 |
\alias{titlePanel} |
| 5 |
\title{Create a panel containing an application title.} |
| 6 |
\usage{ |
| 7 |
titlePanel(title, windowTitle = title) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{title}{An application title to display} |
| 11 |
|
| 12 |
\item{windowTitle}{The title that should be displayed by the browser window.} |
| 13 |
} |
| 14 |
\description{ |
| 15 |
Create a panel containing an application title. |
| 16 |
} |
| 17 |
\details{ |
| 18 |
Calling this function has the side effect of including a |
| 19 |
\code{title} tag within the head. You can also specify a page title |
| 20 |
explicitly using the \code{title} parameter of the top-level page function. |
| 21 |
} |
| 22 |
\examples{ |
| 23 |
## Only run examples in interactive R sessions |
| 24 |
if (interactive()) { |
| 25 |
|
| 26 |
ui <- fluidPage( |
| 27 |
titlePanel("Hello Shiny!") |
| 28 |
) |
| 29 |
shinyApp(ui, server = function(input, output) { }) |
| 30 |
} |
| 31 |
} |