Learn R Programming

calcite (version 0.1.0)

calcite_accordion: Create a Accordion component

Description

Create a Accordion component

Usage

calcite_accordion(...)

Value

an object of class calcite_component which is a subclass of shiny.tag

Arguments

...

named attributes passed to htmltools::tag()

Details

Properties

The following properties are provided by this component:

NameAttributeDescriptionValuesReflects to Attribute
appearanceappearanceSpecifies the appearance of the component."solid" | "transparent"TRUE
iconPositionicon-positionSpecifies the placement of the icon in the header."end" | "start"TRUE
iconTypeicon-typeSpecifies the type of the icon in the header."caret" | "chevron" | "plus-minus"TRUE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
selectionModeselection-modeSpecifies 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

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding calcite-accordion-items. calcite-accordion cannot be nested, however calcite-accordion-items can.

References

Official Documentation

Examples

Run this code
calcite_accordion()

Run the code above in your browser using DataLab