0.1.9 • Published 11 months ago

france-city-autocomplete v0.1.9

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.9

11 months ago

0.1.8

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago