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

22 lines
300 B
Vue

<script lang="ts">
import { vMaska } from '../../src'
export default {
data() {
return {
bound: {
masked: ''
}
}
},
directives: {
maska: vMaska
}
}
</script>
<template>
<input v-maska="bound" data-maska="#-#" />
<div>{{ bound.masked }}</div>
</template>