2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-15 11:59:38 +03:00
Files
maska/test/vue/BindCompleted.vue
2024-06-11 10:17:10 +03:00

15 lines
343 B
Vue

<script setup lang="ts">
import { ref } from 'vue'
import { vMaska } from '../../src/vue'
const boundCompleted = ref(false)
defineExpose({ boundCompleted })
</script>
<template>
<input v-maska:boundCompleted.completed data-maska="#-#-#" />
<div v-if="boundCompleted === true">Completed</div>
<div v-else>Uncompleted</div>
</template>