ion-accordion-group
Contents
Accordion group is a container for accordion instances. It manages the state of the accordions and provides keyboard navigation.
For more information as well as usage, see the Accordion Documentation
#
Interfaces#
AccordionGroupChangeEventDetailinterface AccordionGroupChangeEventDetail<T = any> { value: T;}
#
AccordionGroupCustomEventWhile not required, this interface can be used in place of the CustomEvent
interface for stronger typing with Ionic events emitted from this component.
interface AccordionGroupCustomEvent<T = any> extends CustomEvent { detail: AccordionGroupChangeEventDetail<T>; target: HTMLIonAccordionGroupElement;}
#
Properties#
animatedDescription | If true , all accordions inside of theaccordion group will animate when expanding or collapsing. |
Attribute | animated |
Type | boolean |
Default | true |
#
disabledDescription | If true , the accordion group cannot be interacted with. |
Attribute | disabled |
Type | boolean |
Default | false |
#
expandDescription | Describes the expansion behavior for each accordion. Possible values are "compact" and "inset" .Defaults to "compact" . |
Attribute | expand |
Type | "compact" | "inset" |
Default | 'compact' |
#
modeDescription | The mode determines which platform styles to use. |
Attribute | mode |
Type | "ios" | "md" |
Default | undefined |
#
multipleDescription | If true , the accordion group can have multipleaccordion components expanded at the same time. |
Attribute | multiple |
Type | boolean | undefined |
Default | undefined |
#
readonlyDescription | If true , the accordion group cannot be interacted with,but does not alter the opacity. |
Attribute | readonly |
Type | boolean |
Default | false |
#
valueDescription | The value of the accordion group. |
Attribute | value |
Type | null | string | string[] | undefined |
Default | undefined |
#
EventsName | Description |
---|---|
ionChange | Emitted when the value property has changed. |