Accordion
A container with a set of collapsible cards to separate different content views. The cards can be customized separately and have different visibility settings.
Methods
setValue(data: object)
sets value for the component
resetValue()
resets component to the initial value
collapse()
collapses an accordion item
expand()
expands an accordion item
toggleCollapsed()
item's toggle collapse state
collapseAll()
collapses all items
expandAll()
expands all items
validate()
triggers validation
resetValidation()
clears validation errors
Triggers
Triggers allow you to launch certain actions based on different events.
On Collapse Changed
Calls for an action on a collapse state change
On Header Click
Calls for an action on a component's header click
On Init
Calls for action on component initialization, e.g., page refresh
Last updated