DateMaskr
v1.0.3
Published
![CodeShip Status](https://codeship.com/projects/1c0787d0-202a-0134-d851-7a39504521c1/status?branch=master)
Downloads
2
Readme
DateMaskr
A date mask for html inputs
Installation
npm install DateMaskr --save
Usage
// HTML
<input type="text" class="dateinput" placeholder="DD / MM / YYYY">
// ES6
import DateMaskr from 'DateMaskr'
let $input = document.querySelector('.dateinput');
DateMaskr.mask($input)