mask-ioni-3
`npm instal --save mask-ioni-3`
Last updated 2 years ago by itlpps .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mask-ioni-3 
SYNC missed versions from official npm registry.

mask-ioni-3

npm instal --save mask-ioni-3

Yeh! IONI not IONIC

Import

import { MaskInput } from 'mask-ioni-3/mask-input';

@NgModule({
  declarations: [
    MyApp,
    MaskInput
  ],
  })

How to use

Date
<ion-input type="text" placeholder="Date" [mask]="'00/00/0000'"></ion-input>

Vehicle - BR
<ion-input type="text" placeholder="Car Plate" [mask]="'xxx-0000'"></ion-input>
or
<ion-input type="text" placeholder="Car Plate" [mask]="'AAA-0000'"></ion-input>
or
<ion-input type="text" placeholder="Car Plate" [mask]="'aaa-0000'"></ion-input>

Any
<ion-input type="text" placeholder="Any" [mask]="'#####'"></ion-input>

Telephone - 8 or 9 digits
<ion-input type="tel" placeholder="" [mask]="'telephone'"></ion-input>

Document - CPF or CNPJ
<ion-input type="text" placeholder="" [mask]="'document'"></ion-input>
0 = numbers
A = upper case
a = lower case
x = upper or lower case
# = all characters
telephone =  8 or 9 digits
document = CPF or CNPJ

I would be happy with your contribution :)

Current Tags

  • 1.1.3                                ...           latest (2 years ago)

11 Versions

  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 2
Last Month 26
Dependencies (0)
None
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |