Skip to content

Commit

Permalink
feat: Update QasToggle component to use v-model for two-way data binding
Browse files Browse the repository at this point in the history
  • Loading branch information
DouglasCalora committed Aug 13, 2024
1 parent 41f8254 commit 2b775da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/src/examples/QasToggle/Basic.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
<template>
<div class="container spaced">
<qas-toggle label="Aceitar" :model-value="false" />
<qas-toggle v-model="model" label="Aceitar" />
</div>
</template>

<script setup>
import { ref } from 'vue'
defineOptions({ name: 'Basic' })
const model = ref(false)
</script>

0 comments on commit 2b775da

Please sign in to comment.