initial version of the query autocompletion

Missing features at this point:
1. No suggestions when the input gets the focus.
2. Suggestions are not shown after selecting a suggestion.
This commit is contained in:
2019-10-13 10:35:38 +02:00
parent 47d8387fec
commit a3099d4981
9 changed files with 132 additions and 8 deletions

View File

@@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { QueryAutocompleteComponent } from './query-autocomplete.component';
describe('QueryAutocompleteComponent', () => {
let component: QueryAutocompleteComponent;
let fixture: ComponentFixture<QueryAutocompleteComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ QueryAutocompleteComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(QueryAutocompleteComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});