@anishg/angular-autocomplete

- ###install library using npm - ###import library in module **Example :-**

Usage no npm install needed!

<script type="module">
  import anishgAngularAutocomplete from 'https://cdn.skypack.dev/@anishg/angular-autocomplete';
</script>

README

AngularAutocomplete

How To Use

  • install library using npm

  • import library in module

Example :-

import { AngularAutocompleteModule } from '@anishg/angular-autocomplete'
 @NgModule({
  imports: [    
    AngularAutocompleteModule    
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
  • In View Page

Example :-

<app-autocomplete [suggestionList]="['yes','no']" [setting]="setting" [(selectedList)]="list"
(getSelection)="getSelectedData($event)"></app-autocomplete>
  • Setting

    setting:any={ duplicate:false, background:'blue', selectFontColor:'', fontColor:'red', fontSize:'30px', caseSensitive:true, selectionBackground:'blue', borderColor:'red', borderWidth:'0 0 2px 0', border:true }