accordion_item: 'Accordion' items

View source: R/accordion.R

accordion_itemR Documentation

'Accordion' items

Description

'Accordion' items

Usage

accordion_item(
  title,
  ...,
  footer = NULL,
  tools = NULL,
  class = "",
  collapsed = TRUE,
  parentId = rand_string(),
  itemId = rand_string(),
  style_header = NULL,
  style_body = NULL,
  root_path = template_root()
)

Arguments

title

character title to show in the header

...

body content

footer

footer element, hidden if NULL

tools

a list of badge or tool icons generated by card_tool or as_badge

class

the class of the item

collapsed

whether collapsed at the beginning

parentId

parent accordion id

itemId

the item id

style_header, style_body

'CSS' style of item header and body

root_path

see template_root

Value

'shiny.tag.list' 'HTML' tags

See Also

accordion


shidashi documentation built on June 21, 2022, 5:05 p.m.