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
Id string Gets or sets the unique identifier for the accordion item. -
ChildContent RenderFragment Gets or sets content to be rendered inside the accordion item. -
StartContent RenderFragment Gets or sets content to be rendered at the start of the accordion item. -
TitleContent RenderFragment Gets or sets content to be rendered as the title of the accordion item. -
SubtitleContent RenderFragment Gets or sets content to be rendered as the subtitle of the accordion item. -
Title string Gets or sets the title of the accordion item. -
Subtitle string Gets or sets the subtitle of the accordion item. -
Indicator IndicatorResolver Gets or sets the delegate that resolves the indicator icon based on its expanded state. -
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 that is invoked when the expanded state of the accordion item changes. -
Classes AccordionItemSlots Gets or sets the CSS class names 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 🗙