Card
Overview
A Card is used as a container for a set of different components. It supports multiple views that can be activated by switching the Enable multiple views option in the Card's settings.

Properties
name
string
Component name
views
string[]
Array of available view names
selectedView
any
Name of the selected view
value
value
Current component value
children
children
The children of the card
valid
boolean
Indicates if the component is valid
Methods
selectView
name: string
void
Select a view by name
setValue
data: object
void
Set component data
resetValue
—
void
Reset component to the initial value
validate
—
void
Trigger form validation
resetValidation
—
void
Clear validation errors
Triggers
On Click
Triggered when the component is clicked
On Init
Triggered when the component is initialized
Last updated
Was this helpful?