0.1.8 • Published 11 months ago

france-city-autocomplete v0.1.8

Weekly downloads
-
License
-
Repository
github
Last release
11 months ago

france-city-autocomplete

Ionic 7 Angular 16

france-city-autocomplete is a Ionic 7 Angular 16 library. It's a component that displays a dropdown menu of French city with associated postal codes in a modal with a search bar.

Installation

npm install france-city-autocomplete

Usage

import { FranceCityAutocompleteModule } from 'france-city-autocomplete';
import { NgModule} from '@angular/core';

@NgModule({
  imports: [
    ...
    FranceCityAutocompleteModule
  ],

})

# .ts
public city = {};

# .html
<france-city-autocomplete [(selectedItem)]="city"></france-city-autocomplete>

Properties

  • selectedItem: Object => (ngModel)

    • nom_de_la_commune: string
    • code_postal: string
  • title (optional): string => (name of label input) default : Code postal - commune

0.1.8

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago