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