mirror of
https://github.com/tenrok/maska.git
synced 2026-06-17 19:21:21 +03:00
New version code prepare
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<script lang="ts">
|
||||
import { vMaska } from '../../src'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
binded: {
|
||||
masked: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
directives: {
|
||||
maska: vMaska
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<input v-maska="binded" data-maska="#-#" />
|
||||
<div>{{ binded.masked }}</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user