Accordion
Last updated
Last updated
© 2024 UI Bakery
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
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