titlePanel: Create a panel containing an application title.

Description Usage Arguments Details Examples

View source: R/bootstrap-layout.R

Description

Create a panel containing an application title.

Usage

1
titlePanel(title, windowTitle = title)

Arguments

title

An application title to display

windowTitle

The title that should be displayed by the browser window.

Details

Calling this function has the side effect of including a title tag within the head. You can also specify a page title explicitly using the 'title' parameter of the top-level page function.

Examples

1
2
3
4
5
6
7
8
## Only run examples in interactive R sessions
if (interactive()) {

ui <- fluidPage(
  titlePanel("Hello Shiny!")
)
shinyApp(ui, server = function(input, output) { })
}

sheikhbarabas/shiny documentation built on May 29, 2019, 9:22 p.m.