mirror of
https://github.com/tenrok/maska.git
synced 2026-06-08 17:22:27 +03:00
Replace "binded" with "bound"
This commit is contained in:
@@ -4,8 +4,8 @@ import { MaskaDetail, vMaska } from '../../src'
|
||||
|
||||
const emit = defineEmits(['mask1', 'mask2', 'mask3'])
|
||||
|
||||
const binded1 = reactive({})
|
||||
const binded2 = reactive({})
|
||||
const bound1 = reactive({})
|
||||
const bound2 = reactive({})
|
||||
|
||||
const options1 = {
|
||||
onMaska: (detail: MaskaDetail) => emit('mask1', detail)
|
||||
@@ -19,6 +19,6 @@ const options2 = {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<input id="input1" v-maska:[options1]="binded1" data-maska="#-#" />
|
||||
<input id="input2" v-maska:[options2]="binded2" data-maska="#-#" />
|
||||
<input id="input1" v-maska:[options1]="bound1" data-maska="#-#" />
|
||||
<input id="input2" v-maska:[options2]="bound2" data-maska="#-#" />
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user