Components API

LumexAccordionItem

API reference documentation for the LumexAccordionItem component. Explore details about its parameters, types and other APIs.

Examples

For examples and details on the usage of this component, visit the component demo page: Accordion

Properties

Parameter Type Description Default
ChildContent RenderFragment Gets or sets the content to render. -
StartContent RenderFragment Gets or sets the content to render at the start. -
TitleContent RenderFragment Gets or sets the content to render as the title. -
SubtitleContent RenderFragment Gets or sets the content to render as the subtitle. -
Id string Gets or sets the unique identifier for the accordion item. -
Title string Gets or sets the title. -
Subtitle string Gets or sets the subtitle. -
Indicator IndicatorResolver Gets or sets the function that resolves the indicator icon. -
Disabled bool Gets or sets a value indicating whether the accordion item is disabled. false
Expanded bool Gets or sets a value indicating whether the accordion item is expanded. false
ExpandedChanged EventCallback<bool> Gets or sets the callback invoked when the expanded state changes. -
Classes AccordionItemSlots Gets or sets the CSS classes for the accordion item slots. -
As string Gets or sets an HTML tag of the component. -
Class string Gets or sets CSS class names that will be applied to the component. -
Style string Gets or sets styles that will be applied to the component. -
AdditionalAttributes IReadOnlyDictionary<string, object> Gets or sets a collection of additional attributes that will be applied to the component. -
ElementReference ElementReference? Gets or sets the associated . May be if accessed before the component is rendered. -

Methods

Method Type Description
ExpandAsync Task
CollapseAsync Task
Dispose Void
An unhandled error has occurred. Reload 🗙