2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-08 17:22:27 +03:00

Optimize directive work

This commit is contained in:
Alexander Shabunevich
2022-12-09 13:32:46 +03:00
parent 21a088f7d2
commit 289fc8ff43
7 changed files with 180 additions and 8 deletions
+11
View File
@@ -0,0 +1,11 @@
<script setup lang="ts">
import { ref } from 'vue'
import { vMaska } from '../../src'
const value = ref('123')
</script>
<template>
<input v-maska data-maska="#-#" data-maska-eager v-model="value" />
<div>{{ value }}</div>
</template>