2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-15 11:59:38 +03:00

test: add BindModel component

This commit is contained in:
Alexander Shabunevich
2024-04-11 22:41:55 +03:00
parent 9b6f964d59
commit 2fb8e9b460
+13
View File
@@ -0,0 +1,13 @@
<script setup lang="ts">
import { ref } from 'vue'
import { vMaska } from '../../src'
const value = ref('123')
const bound = ref('')
</script>
<template>
<input v-maska:bound.unmasked data-maska="#-#" data-maska-eager v-model="value" />
<div id="value1">{{ value }}</div>
<div id="value2">{{ bound }}</div>
</template>