accordion_item | R Documentation |
'Accordion' items
accordion_item(
title,
...,
footer = NULL,
class = "",
collapsed = TRUE,
parentId = rand_string(prefix = "accordion-"),
itemId = rand_string(prefix = "accordion-item-"),
style_header = NULL,
style_body = NULL,
root_path = template_root()
)
title |
character title to show in the header |
... |
body content |
footer |
footer element, hidden if |
class |
the class of the item |
collapsed |
whether collapsed at the beginning |
parentId |
parent |
itemId |
the item id |
style_header , style_body |
'CSS' style of item header and body |
root_path |
see |
'shiny.tag.list'
'HTML' tags
accordion
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.