ionic input mask

Solutions on MaxInterview for ionic input mask by the best coders in the world

showing results for - "ionic input mask"
Camilla
31 Nov 2016
1npm install br-mask --save -E
2
3...
4
5import { BrMaskerModule } from 'br-mask';
6
7@NgModule({
8  imports: [
9    BrMaskerModule
10  ],
11})
12
13...
14
15<ion-input 
16	type="text" 
17    name="cpf" 
18    placeholder="CPF" 
19    [brmasker]="{mask:'000.000.000-00', len:14}">
20</ion-input>