@anishg/angular-autocomplete
v1.0.7
Published
- ###install library using npm - ###import library in module **Example :-**
Downloads
17
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)">
###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 }