Skip to main content

@microsoft/fast-foundation > Accordion

Accordion class

An Accordion Custom HTML Element Implements ARIA Accordion.

Signature:
export declare class Accordion extends FoundationElement 

Remarks

Designed to be used with accordionTemplate and AccordionItem.

change - Fires a custom 'change' event when the active item changes

item - The slot for the accordion items

Properties

PropertyModifiersTypeDescription
expandmodeAccordionExpandModeControls the expand mode of the Accordion, either allowing single or multiple item expansion.