navlistPanel | R Documentation |
Create a navigation list panel that provides a list of links on the left which navigate to a set of tabPanels displayed to the right.
navlistPanel(
...,
id = NULL,
selected = NULL,
header = NULL,
footer = NULL,
well = TRUE,
fluid = TRUE,
widths = c(4, 8)
)
... |
|
id |
If provided, you can use |
selected |
The |
header |
Tag or list of tags to display as a common header above all tabPanels. |
footer |
Tag or list of tags to display as a common footer below all tabPanels |
well |
|
fluid |
|
widths |
Column widths of the navigation list and tabset content areas respectively. |
You can include headers within the navlistPanel
by including
plain text elements in the list. Versions of Shiny before 0.11 supported
separators with "——", but as of 0.11, separators were no longer
supported. This is because version 0.11 switched to Bootstrap 3, which
doesn't support separators.
tabPanel()
, updateNavlistPanel()
,
insertTab()
, showTab()
fluidPage(
titlePanel("Application Title"),
navlistPanel(
"Header",
tabPanel("First"),
tabPanel("Second"),
tabPanel("Third")
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.