navlistPanel(..., id = NULL, selected = NULL, well = TRUE, fluid = TRUE, widths = c(4, 8))
tabPanel
elements to include in the navlistinput$
id
in your
server logic to determine which of the current navlist items is active. The
value will correspond to the value
argument that is passed to
tabPanel
.value
(or, if none was supplied, the title
)
of the navigation item that should be selected by default. If NULL
,
the first navigation will be selected.TRUE
to place a well (gray rounded rectangle) around the
navigation list.TRUE
to use fluid layout; FALSE
to use fixed
layout.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
fluidPage(
titlePanel("Application Title"),
navlistPanel(
"Header",
tabPanel("First"),
tabPanel("Second"),
tabPanel("Third")
)
)
Run the code above in your browser using DataLab