Create a navigation list panel — navlistPanel
R/bootstrap.R
Description
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.
Arguments
- ...
tabPanel()elements to include in the navlist- id
If provided, you can use
input$idin your server logic to determine which of the current navlist items is active. The value will correspond to thevalueargument that is passed totabPanel().- selected
The
value(or, if none was supplied, thetitle) of the navigation item that should be selected by default. IfNULL, the first navigation will be selected.- 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
TRUEto place a well (gray rounded rectangle) around the navigation list.- fluid
TRUEto use fluid layout;FALSEto use fixed layout.- widths
Column widths of the navigation list and tabset content areas respectively.
Details
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.