0.0.8 • Published 4 years ago

postal-code-autocomplete v0.0.8

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

Postal Code Autocomplete | Autocomplete de códigos postales

Install

npm install postal-code-autocomplete --save

Component

How use

<ng-postal-code-autocomplete [country]="country" [(zipCode)]="model"></ng-postal-code-autocomplete>

Inputs

country | string | default: es

Service

How to use

Inject service PostalCodeAutocomplete, example:

  constructor(private readonly postalCode: PostalCodeAutocompleteService){
    console.log(postalCode.getZipCodeByCode(this.country,'23009'))
  }

Methods

getZipCodeByCity(country: string = 'es', city: string): ZipCode
 getZipCodeByCode(country: string = 'es', code: string): ZipCode
0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago