View source: R/components-generated.R
| calcite_accordion | R Documentation |
Create a Accordion component
calcite_accordion(...)
... |
named attributes passed to |
The following properties are provided by this component:
| Name | Attribute | Description | Values | Reflects to Attribute |
| appearance | appearance | Specifies the appearance of the component. | "solid" | "transparent" | TRUE |
| iconPosition | icon-position | Specifies the placement of the icon in the header. | "end" | "start" | TRUE |
| iconType | icon-type | Specifies the type of the icon in the header. | "caret" | "chevron" | "plus-minus" | TRUE |
| scale | scale | Specifies the size of the component. | "l" | "m" | "s" | TRUE |
| selectionMode | selection-mode | Specifies the selection mode of the component, where: "multiple" allows any number of selections, "single" allows only one selection, and "single-persist" allows one selection and prevents de-selection. | "multiple" | "single" | "single-persist" | TRUE |
The following slots are provided by this component:
| Slot | Description |
| Default (unnamed) | A slot for adding calcite-accordion-items. calcite-accordion cannot be nested, however calcite-accordion-items can. |
an object of class calcite_component which is a subclass of shiny.tag
calcite_accordion()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.