2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-15 11:59:38 +03:00
Files
maska/test/components/BindInitial.vue
T
2024-02-13 13:56:56 +07:00

12 lines
277 B
Vue

<script setup lang="ts">
import { reactive } from 'vue'
import { MaskaDetail, vMaska } from '../../src'
const bound = reactive<Partial<MaskaDetail>>({})
</script>
<template>
<input v-maska="bound" data-maska="#-#" value="123" />
<div>{{ bound.masked }}</div>
</template>