Switch
开关
value = false
Types
Sizes
API
Name | Description | Type | Values | Default |
---|---|---|---|---|
checked | Binding for whether the switch to "on" or not, optional | Any | — | false |
type | Type (color of control), optional | String | is-white , is-black , is-light , is-dark , is-primary , is-info , is-success , is-warning , is-danger | — |
size | Size of switch, optional | String | is-small , is-medium , is-large | — |
disabled | Whether switch is disabled or not, optional | Boolean | — | false |