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

ParameterDefaultType
Animatedtruebool

Enables the transitions supplied by the CSS provider. Set to false for immediate changes.
AnimationDurationnullint?

Overrides the provider's animation duration, in milliseconds. Null preserves the provider's default. Zero or a negative value disables transitions.
ChildContentnullRenderFragment

Specifies the content to be rendered inside this Accordion.

AccordionToggle

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this AccordionToggle.

AccordionItem

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this AccordionItem.
Visiblefalsebool

Specifies the accordion item visibility state.

AccordionHeader

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this AccordionHeader.

AccordionBody

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this AccordionBody.

Events

AccordionToggle

EventType
ClickedEventCallback<MouseEventArgs>

Notifies when the toggle button is clicked.

AccordionItem

EventType
VisibleChangedEventCallback<bool>

Notifies when the accordion item visibility state changes.

AccordionHeader

EventType
ClickedEventCallback<MouseEventArgs>

Notifies when the accordion header is clicked.

Methods

AccordionItem

MethodReturnParameters
ToggleTask—

Toggles the accordion item visibility state.