2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-11 18:02: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>
defineProps(['modelValue'])
defineEmits(['update:modelValue'])
</script>
<template>
<input
:value="modelValue"
@input="$emit('update:modelValue', $event.target.value)"
/>
</template>