Camaleão Mask Directive
Maks Directive for Ionic Designed to Work with Numbers
Install
npm install @ioniczoo/chameleon-mask-directive --save
Import
import { NgModule } from '@angular/core';
import { MaskDirectiveModule } from '@ioniczoo/chameleon-mask-directive';
@NgModule({
imports: [
MaskDirectiveModule
],
declarations: []
})
export class AppModule {}
Example
<ion-input type="text" mask="(**) * ****-****"></ion-input>
Author
JP Rodrigues
Contribute
Create issues and request pull-request.
License
GNU General Public License v3.0