0.0.8 • Published 6 years ago
vuejs-inputmask v0.0.8
vue-inputmask
Vue.js port for the inputmask library by Robin Herbots https://github.com/RobinHerbots/Inputmask
This library is licensed under MIT License.
Install
npm install -S vuejs-inputmask
Setup
ES6
import Vue from 'vue'
import Inputmask from 'vuejs-inputmask'
Vue.use(Inputmask)
With a script tag
<script src="./node_modules/inputmask/dist/inputmask/dependencyLibs/inputmask.dependencyLib.js"></script>
<script src="./node_modules/inputmask/dist/inputmask/inputmask.js"></script>
<script src="./dist/vue-inputmask-browser.js"></script>
Usage
<input type="text" v-mask="'99/99/9999'" />
<input type="text" v-mask="{mask: '99/99/9999', greedy: true}" />
License
This project licensed under MIT license. Maintained by https://pepper.ink