Skip to content

Create a AccordionItem component

Usage

calcite_accordion_item(...)

Arguments

...

named attributes passed to htmltools::tag()

Value

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

Details

Properties

The following properties are provided by this component:

Name Attribute Description Values Reflects to Attribute
description description Specifies a description for the component. string FALSE
expanded expanded When true, the component is expanded. boolean TRUE
heading heading Specifies heading text for the component. string FALSE
iconEnd icon-end Specifies an icon to display at the end of the component. string TRUE
iconFlipRtl icon-flip-rtl Displays the iconStart and/or iconEnd as flipped when the element direction is right-to-left ("rtl"). "both" | "end" | "start" TRUE
iconStart icon-start Specifies an icon to display at the start of the component. string TRUE

Slots

The following slots are provided by this component:

Slot Description
Default (unnamed) A slot for adding custom content, including nested calcite-accordion-items.
actions-end A slot for adding calcite-actions or content to the end side of the component's header.
actions-start A slot for adding calcite-actions or content to the start side of the component's header.

Examples

calcite_accordion_item()

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.