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

14 lines
271 B
Vue

<script setup lang="ts">
import { ref } from 'vue'
import { vMaska } from '../../src/vue'
const boundMasked = ref('')
defineExpose({ boundMasked })
</script>
<template>
<input v-maska:boundMasked.masked data-maska="#-#" />
<div>{{ boundMasked }}</div>
</template>