accordionItem {nextGenShinyApps} | R Documentation |
Generate an accordion item
Description
Embed an accordion item within an accordion
Usage
accordionItem(
...,
title = "A title",
status = c("default", "primary", "secondary", "info", "success", "danger", "warning"),
icon = NULL
)
Arguments
... |
The elements to include within the body of the particular accordion |
title |
The title of the accordion item |
status |
Set the header background using either of "default", "primary", "secondary", "info", "success", "danger", "warning" |
icon |
Include an icon to the left of the title for the accordion item |
Value
A list of properties for an accordion item
Examples
if (interactive()) {
accordionItem(
title = "Accordion 2",
icon = shiny::icon("cog"),
"Auctor neque etiam non."
)
}
[Package nextGenShinyApps version 2.1 Index]