Container

Overview

A container to group different components. A container doesn't have any styling options so you can customize it to your needs. It supports multiple views of different content for conditional display (for example, for different groups of users).

Properties

Name
Type
Description

name

string

Component name

views

string[]

Array of available view names

selectedView

string

Name of the selected view

value

value

Current component value

children

children

Children components

valid

boolean

Indicates if the component is valid

All nested inputs are included in the component’s value property allowing you to build custom forms.

Methods

Name
Parameters
Returns
Description

selectView

name: string

void

Select a view by name

Triggers

Name
Description

On Click

Triggered when the component is clicked

On Init

Triggered when the component is initialized

Last updated

Was this helpful?