Angular IMask Plugin
npm install angular-imask

npm install angular-imaskjavascript
import { IMaskModule } from 'angular-imask';@NgModule({
imports: [
IMaskModule,
...
],
...
}) {...}
`Usage
`html
[imask]="{mask: '+{7}(000)000-00-00'}"
[unmask]="true"
(accept)="onAccept"
(complete)="onComplete"
[imaskElement]="(elementRef, directiveRef) => maskElement"
/>
{{ value | imask:mask }}
`
More options see in a guide.Development
As to make changes to this package follow the steps:1. Build imask
`
npm run make
`
2. Go to angular-imask directory
`
cd packages/angular-imask
`
3. Launch dev command
`
npm run dev
`4. (Optional) Launch example app
`
npm run example
``