mirror of
https://github.com/tenrok/maska.git
synced 2026-06-02 16:04:05 +03:00
feat!: rework for v3
- new directive format: pass options as value, bound as argument with modifiers - update and checkValue methods in MaskInput
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
import { vMaska } from '../../src'
|
||||
|
||||
const initial = ref('345')
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<input v-maska data-maska="#-#" id="input1" value="123" />
|
||||
<input v-maska data-maska="#-#" id="input2" v-model="initial" />
|
||||
</template>
|
||||
Reference in New Issue
Block a user