メインコンテンツまでスキップ
バージョン: v8

ion-accordion-group

shadow

アコーディオン・グループは、アコーディオンインスタンスのためのコンテナです。これは、アコーディオンの状態を管理し、キーボードナビゲーションを提供します。

より詳細な情報や使用方法については、 Accordion を参照ください。

Interfaces​

AccordionGroupChangeEventDetail​

interface AccordionGroupChangeEventDetail<T = any> {
value: T;
}

AccordionGroupCustomEvent​

必須ではありませんが、このコンポーネントから発行される Ionic イベントでより強く型付けを行うために、CustomEvent インターフェースの代わりにこのインターフェースを使用することが可能です。

interface AccordionGroupCustomEvent<T = any> extends CustomEvent {
detail: AccordionGroupChangeEventDetail<T>;
target: HTMLIonAccordionGroupElement;
}

プロパティ​

animated​

DescriptionIf true, all accordions inside of the accordion group will animate when expanding or collapsing.
Attributeanimated
Typeboolean
Defaulttrue

disabled​

DescriptionIf true, the accordion group cannot be interacted with.
Attributedisabled
Typeboolean
Defaultfalse

expand​

DescriptionDescribes the expansion behavior for each accordion. Possible values are "compact" and "inset". Defaults to "compact".
Attributeexpand
Type"compact" | "inset"
Default'compact'

mode​

DescriptionThe mode determines which platform styles to use.
Attributemode
Type"ios" | "md"
Defaultundefined

multiple​

DescriptionIf true, the accordion group can have multiple accordion components expanded at the same time.
Attributemultiple
Typeboolean | undefined
Defaultundefined

readonly​

DescriptionIf true, the accordion group cannot be interacted with, but does not alter the opacity.
Attributereadonly
Typeboolean
Defaultfalse

value​

DescriptionThe value of the accordion group. This controls which accordions are expanded. This should be an array of strings only when multiple="true"
Attributevalue
Typenull | string | string[] | undefined
Defaultundefined

イベント​

NameDescriptionBubbles
ionChangeEmitted when the value property has changed as a result of a user action such as a click.

This event will not emit when programmatically setting the value property.
true

メソッド​

No public methods available for this component.

CSS Shadow Parts​

No CSS shadow parts available for this component.

CSSカスタムプロパティ​

No CSS custom properties available for this component.

Slots​

No slots available for this component.