2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-05 16:42:28 +03:00
Files
maska/packages/vue/test/components/BindModel.vue
T
Alexander Shabunevich 4de44ef888 feat!: separate packages
2024-04-17 19:31:22 +03:00

14 lines
327 B
Vue

<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>