Skip to content

Checkbox

A group of options for multiple choices.

Basic Usage

Define v-model(bind variable) in el-checkbox. The default value is a Boolean for single checkbox.

Indeterminate

The indeterminate property can help you to achieve a 'check all' effect.


Checkbox API

Checkbox Attributes

NameDescriptionTypeDefault
model-value / v-modelbinding valuebooleanfalse
indeterminateSet indeterminate state, only responsible for style controlbooleanfalse

Checkbox Slots

NameDescriptionSubtags
defaultcustomize default content-

Checkbox Events

NameDescriptionParameters
changetriggers when the binding value changeschecked: boolean

Released under the MIT License.