0.1.27 • Published 1 month ago
@ionited/mask-vue v0.1.27
Mask-vue
Create your masks for Vue easily
Vue wrapper for @ionited/mask. Compatible with Vue 3 and Ionic Vue
Quick start
Choose your favorite option below:
Install with NPM
npm i @ionited/mask-vue
Get from UNPKG
https://unpkg.com/@ionited/mask-vue@latest/dist/index.js
Usage
To basic usage you can simply call:
<template>
<input v-mask="{ mask: '99 / 9999' }">
</template>
Local import:
import { mask } from '@ionited/mask-vue';
export default {
...
directives: { mask },
...
}
or global import:
import { mask } from '@ionited/mask-vue';
const app = createApp(App)
.directive('mask', mask);
Register your own masks
You can create your own mask logic easily, you only need register
a mask and use:
register(name: string, mask: any): void;
See more @ionited/mask
License
Copyright (c) 2021 Ion. Licensed under MIT License.
0.1.27
1 month ago
0.1.26
7 months ago
0.1.25
12 months ago
0.1.23
2 years ago
0.1.24
2 years ago
0.1.20
2 years ago
0.1.21
2 years ago
0.1.22
2 years ago
0.1.19
2 years ago
0.1.16
2 years ago
0.1.17
2 years ago
0.1.18
2 years ago
0.1.15
3 years ago
0.1.14
3 years ago
0.1.13
3 years ago
0.1.12
3 years ago
0.1.10
3 years ago
0.1.11
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.9
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago