Skip to main content

Checkbox



Development

Examples

Basic

PreviewAngularReactVueJavaScript

Disabled

PreviewAngularReactVueJavaScript

Group

PreviewAngularReactVueJavaScript

Indeterminate group

PreviewAngularReactVueJavaScript

Validation

PreviewAngularReactVueJavaScript

API

Properties

Name
Description and specifications
checked
Checked state of the checkbox component
Attribute:
checked
Type:
boolean
Default:
false
disabled
Disabled state of the checkbox component
Attribute:
disabled
Type:
boolean
Default:
false
indeterminate
Indeterminate state of the checkbox component
Attribute:
indeterminate
Type:
boolean
Default:
false
label
Label for the checkbox component
Attribute:
label
Type:
string | undefined
name
Name of the checkbox component
Attribute:
name
Type:
string | undefined
required
Required state of the checkbox component. If true, checkbox needs to be checked to be valid
Attribute:
required
Type:
boolean
Default:
false
value
Value of the checkbox component
Attribute:
value
Type:
string
Default:
'on'

Events

Name
Description and specifications
checkedChange
Event emitted when the checked state of the checkbox changes
Detail:
boolean
valueChange
Event emitted when the value of the checkbox changes
Detail:
string