Blazorise Accordion API
Explore the Blazorise Accordion API reference for parameters, events, methods, and related types.
For examples and usage guidance, see the Accordion documentation.
API
Parameters
Accordion
| Parameter | Description | Type | Default |
|---|---|---|---|
ChildContent |
Specifies the content to be rendered inside this Accordion. |
RenderFragment | null |
AccordionToggle
| Parameter | Description | Type | Default |
|---|---|---|---|
ChildContent |
Specifies the content to be rendered inside this AccordionToggle. |
RenderFragment | null |
AccordionItem
| Parameter | Description | Type | Default |
|---|---|---|---|
ChildContent |
Specifies the content to be rendered inside this AccordionItem. |
RenderFragment | null |
Visible |
Specifies the accordion item visibility state. |
bool | false |
AccordionHeader
| Parameter | Description | Type | Default |
|---|---|---|---|
ChildContent |
Specifies the content to be rendered inside this AccordionHeader. |
RenderFragment | null |
AccordionBody
| Parameter | Description | Type | Default |
|---|---|---|---|
ChildContent |
Specifies the content to be rendered inside this AccordionBody. |
RenderFragment | null |
Events
AccordionToggle
| Event | Description | Type |
|---|---|---|
Clicked |
Notifies when the toggle button is clicked. |
EventCallback<MouseEventArgs> |
AccordionItem
| Event | Description | Type |
|---|---|---|
VisibleChanged |
Notifies when the accordion item visibility state changes. |
EventCallback<bool> |
AccordionHeader
| Event | Description | Type |
|---|---|---|
Clicked |
Notifies when the accordion header is clicked. |
EventCallback<MouseEventArgs> |
Methods
AccordionItem
| Method | Description | Return | Parameters |
|---|---|---|---|
Toggle |
Toggles the accordion item visibility state. | Task |