mirror of
https://github.com/tenrok/maska.git
synced 2026-05-24 14:04:08 +03:00
13 lines
316 B
Vue
13 lines
316 B
Vue
<script setup lang="ts">
|
|
import { reactive } from 'vue'
|
|
import { MaskaDetail, vMaska } from '../../src'
|
|
|
|
const binded = reactive<Partial<MaskaDetail>>({})
|
|
</script>
|
|
|
|
<template>
|
|
<input v-maska="binded" data-maska="#-#-#" />
|
|
<div v-if="binded.completed">Completed</div>
|
|
<div v-else>Uncompleted</div>
|
|
</template>
|