0.0.6 • Published 11 months ago

community-ion-autocomplete v0.0.6

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

community-ion-autocomplete

Ionic 7 Angular 16

community-ion-autocomplete is a Ionic 7 Angular 16 library. It's a dropdown that opens in a modal with searchbar.

Installation

npm install community-ion-autocomplete

Usage

import { CommunityIonAutocompleteModule } from 'community-ion-autocomplete';
import { NgModule} from '@angular/core';

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

})

# .ts
public model = {};
public item = [{name:'Community'},{name:'Ion'},{name:'Autocomplete'}];


# .html
<community-ion-autocomplete [items]="items" [(selectedItem)]="model"></community-ion-autocomplete>

Properties

  • items: Array =>

  • selectedItem: Object || Array => (ngModel)

    • value: string
  • title (optional): string => (name of label input) default : ''

  • mutiple (optional): boolean => (select several items) default : false

0.0.6

11 months ago

0.0.5

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago