Switch
- Файл: app/components/ui/switch/Switch.vue
Быстрый старт
<script setup lang="ts">
import { Switch } from 'components/ui/switch';
</script>
<template>
<Switch
label="Значение 1"
leftLabel="Значение 1"
/>
</template>
API
Props
| Prop | Type | По умолчанию |
|---|---|---|
id | string | '' |
name | string | '' |
required | string | '' |
disabled | string | '' |
label | string | '' |
leftLabel | string | '' |
Models
| Prop | Type | По умолчанию |
|---|---|---|
model | boolean | undefined |