1.0.0 • Published 7 years ago
ng2-mask-renderer v1.0.0
ng2-mask-with-renderer
This module is a copy from https://github.com/NepipenkoIgor/ngx-mask, but change renderer2 to renderer
Getting Started
npm install --save ng2-mask-renderer
In app.module.ts
- import { Ng2MaskModule } from 'ng2-mask-renderer'
- imports: ..., Ng2MaskModule,....
Using
Add mask in your input as in the example below
<input (blur)="validateDate(form.birthday)" value="{{form.birthday}}" mask='99/99/9999' required name="birthday" [(ngModel)]="form.birthday" type="text"/>
1.0.0
7 years ago