ToggleSwitch
Компонент, представляющий собой переключиталь и работающий как input checkbox
Props
modelValue
- type:
boolean - required:
true
Значение для input checkbox
name
- type:
string - default:
null
Значение name attribute для input checkbox
id
- type:
string - default:
null
Значение id attribute для input checkbox
disabled
- type:
boolean - default:
false
Состояние disabled
Events
| Event name | Properties | Description |
|---|---|---|
| update:modelValue | Обновление значение input checkbox |
Slots
| Name | Description | Bindings |
|---|---|---|
| default | Подсказка для input checkbox |