@pedroribeiro89/angular-cep
v1.0.1
Published
An Angular CEP(Brazilian ZIP code) input field
Downloads
5
Maintainers
Readme
AngularCEP
An Angular CEP(Brazilian ZIP code) input field
Dependencies
Features
- Native Input
- Material Input
- Load Address using Viacep
Installation
After install the dependencies, install angular-cep
:
npm install @pedroribeiro89/angular-cep --save
Once installed, import AngularCepModule in your application module:
import { AngularCepModule } from 'angular-cep';
@NgModule({
declarations: [AppComponent, ...],
imports: [AngularCepModule, ...],
bootstrap: [AppComponent]
})
export class AppModule {}
Native Input:
<angular-cep (onLoadCEP)="loadedCep($event)"></angular-cep>
Material Input:
<angular-cep-material label="Digite seu CEP" (onLoadCEP)="loadedCep($event)"></angular-cep-material>
Contributing
I would love for improvements ideas and bug reports (leave in github issues).