---
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
<!-- CPF Format -->
<span>{{ cpf | format:'999.999.999-99' }}</span><br/>
<!-- Phone Variable Format -->
<span>{{ tel | format:'(99) 9 9999-9999' }}</span><br/>
<!-- Phone String Format -->
<span>{{ '719988776655' | format:'(99) 9 9999-9999' }}</span><br/>
<!-- Phone Number Format -->
<span>{{ 719988776655 | format:'(99) 9 9999-9999' }}</span><br/>
Author
Contribute
Create issues and request pull-request.