mirror of
https://github.com/tenrok/maska.git
synced 2026-05-15 11:59:38 +03:00
14 lines
271 B
Vue
14 lines
271 B
Vue
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
import { vMaska } from '../../src/vue'
|
|
|
|
const boundMasked = ref('')
|
|
|
|
defineExpose({ boundMasked })
|
|
</script>
|
|
|
|
<template>
|
|
<input v-maska:boundMasked.masked data-maska="#-#" />
|
|
<div>{{ boundMasked }}</div>
|
|
</template>
|