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

ion-accordion-group

shadow

Accordion group is a container for accordion instances. It manages the state of the accordions and provides keyboard navigation.

See the Accordion documentation for more information.

Interfaces

AccordionGroupChangeEventDetail

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

AccordionGroupCustomEvent

While 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

animated

Descriptiontrueの場合、アコーディオングループ内のすべてのアコーディオンが拡大・縮小時にアニメーションを行います。
Attributeanimated
Typeboolean
Defaulttrue

disabled

Descriptiontrueの場合、アコーディオングループと対話することができません。
Attributedisabled
Typeboolean
Defaultfalse

expand

Description各アコーディオンの拡張動作を記述します。指定可能な値は "compact""inset" です。デフォルトは "compact" です。
Attributeexpand
Type"compact" | "inset"
Default'compact'

mode

Descriptionmodeは、どのプラットフォームのスタイルを使用するかを決定します。

This is a virtual property that is set once during initialization and will not update if you change its value after the initial render.
Attributemode
Type"ios" | "md"
Defaultundefined

multiple

Descriptiontrueの場合、アコーディオングループは複数のアコーディオンコンポーネントを同時に展開することができます。
Attributemultiple
Typeboolean | undefined
Defaultundefined

readonly

Descriptiontrueの場合、アコーディオングループはインタラクティブに操作できないが、不透明度は変更されない。
Attributereadonly
Typeboolean
Defaultfalse

value

Descriptionアコーディオングループの値です。これは、どのアコーディオンを展開するかを制御します。これは、multiple="true"のときだけ、文字列の配列でなければなりません。
Attributevalue
Typenull | string | string[] | undefined
Defaultundefined

Events

NameDescriptionBubbles
ionChangevalueプロパティがクリックなどのユーザーアクションによって変更されたときに発行される。 プログラムで value プロパティを設定した場合には、このイベントは発生しない。true

Methods

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Properties

No CSS custom properties available for this component.

Slots

No slots available for this component.