---
Bird Format Pipe
Format Pipe for Ionic
Install
npm install @ioniczoo/bird-format-pipe --save
Import
import { NgModule } from '@angular/core';
import { FormatPipeModule } from '@ioniczoo/bird-format-pipe';
@NgModule({
imports: [
FormatPipeModule
],
declarations: []
})
export class AppModule {}
Examples
<span>{{ cpf | format:'999.999.999-99' }}</span><br/>
<span>{{ tel | format:'(99) 9 9999-9999' }}</span><br/>
<span>{{ '719988776655' | format:'(99) 9 9999-9999' }}</span><br/>
<span>{{ 719988776655 | format:'(99) 9 9999-9999' }}</span><br/>
Author
André Argôlo
Contribute
Create issues and request pull-request.
License
GNU General Public License v3.0