Shows a header with a title and a subtitle, and content that the user can expand and collapse. Find-in-page, a text fragment or a link to an element in the content opens a collapsed panel that is not disabled.

Slots
default — Renders the default content of the panel.
title — Renders the title of the panel header.
subtitle — Renders the subtitle of the panel header.
indicator — Renders the expand/collapse indicator.
indicator-expanded — Renders the expanded state of the indicator.
CSS Parts
header — The container of the expansion indicator, title and subtitle.
title — The title container.
subtitle — The subtitle container.
indicator — The indicator container.
content — The expansion panel's content wrapper.

Whether the panel is disabled. A disabled panel does not respond to user interaction.

disabled: boolean

The indicator position of the expansion panel.

indicatorPosition: ExpansionPanelIndicatorPosition

Whether the panel is expanded and its content is visible.

open: boolean

Hides the panel content.

hide(): Promise<boolean>

Returns Promise<boolean>

Shows the panel content.

show(): Promise<boolean>

Returns Promise<boolean>

Toggles the panel open/close state.

toggle(): Promise<boolean>

Returns Promise<boolean>

Emitted after the expansion panel is closed.

onClosed(args: CustomEvent<IgrExpansionPanelComponent>): void

Parameters

Returns void

Emitted before the user closes the panel. Cancelable.

onClosing(args: CustomEvent<IgrExpansionPanelComponent>): void

Parameters

Returns void

Emitted after the expansion panel is opened.

onOpened(args: CustomEvent<IgrExpansionPanelComponent>): void

Parameters

Returns void

Emitted before the user opens the panel. Cancelable.

onOpening(args: CustomEvent<IgrExpansionPanelComponent>): void

Parameters

Returns void