Collapsible card

A collapsible card is a collapsible container for a set of different components. The card supports multiple views, that can be activated by switching the Enable multiple views option in the card's settings.

Methods

MethodDescription

selectView(name: string)

selects a view by the name

setValue(data | object)

sets component's value

resetValue()

resets the component to its initial state

validate()

triggers validation

resetValidation()

clears validation errors

collapse()

collapses the card

expand()

expands the card

toggleCollapsed()

toggle card's collapsed state

Triggers

Triggers allow you to launch certain actions based on different events.

On Click

Calls for an action when you click on a component

On Header Click

Calls for an action when you click on a component's header

On Init

Calls for an action on component initialization

On Collapse Changed

Calls for an action on collapse state change

Last updated