0.0.7 • Published 8 years ago

@ioniczoo/bird-format-pipe v0.0.7

Weekly downloads
-
License
SEE LICENSE IN GN...
Repository
gitlab
Last release
8 years ago

npm npm npm

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

André Argôlo

Contribute

Create issues and request pull-request.

License

GNU General Public License v3.0

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.1

8 years ago