1.0.7 • Published 4 years ago
@anishg/angular-autocomplete v1.0.7
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
}