2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-21 13:24:06 +03:00
Files
maska/test/components/Initial.vue
T
Alexander Shabunevich cd1e9f3564 feat!: rework for v3
- new directive format: pass options as value, bound as argument with modifiers
- update and checkValue methods in MaskInput
2024-03-30 12:39:22 +03:00

12 lines
276 B
Vue

<script setup lang="ts">
import { ref } from 'vue'
import { vMaska } from '../../src'
const initial = ref('345')
</script>
<template>
<input v-maska data-maska="#-#" id="input1" value="123" />
<input v-maska data-maska="#-#" id="input2" v-model="initial" />
</template>