2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-27 14:45:28 +03:00

feat!: rework for v3

- new directive format: pass options as value, bound as argument with modifiers
- update and checkValue methods in MaskInput
This commit is contained in:
Alexander Shabunevich
2024-03-30 12:39:22 +03:00
parent fe2dc8a766
commit cd1e9f3564
15 changed files with 188 additions and 199 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const onMaska2 = () => {
<input id="checkbox" type="checkbox" v-model="isEager" />
<input
id="input1"
v-maska:[options]
v-maska="options"
data-maska="#-#"
v-model="value1"
@maska="onMaska1"