mirror of
https://github.com/tenrok/maska.git
synced 2026-05-15 11:59:38 +03:00
15 lines
343 B
Vue
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>
|