mdc-autocomplete
Version:
MdcAutocomplete in conjunction with MdcAutocompleteList and MdcAutocompleteListItem are a pack of angular components to provide an autocomplete functionality to Angular MDC web.
21 lines (20 loc) • 737 B
TypeScript
import { OnInit, AfterContentInit, EventEmitter } from '@angular/core';
import { MdcTextField } from '@angular-mdc/web';
import { MdcAutocompleteList } from 'mdc-autocomplete-list';
export declare class MdcAutocomplete implements OnInit, AfterContentInit {
label: string;
itemSelected: EventEmitter<any>;
textField: MdcTextField;
autocompleteList: MdcAutocompleteList;
_value: string;
value: string;
selectedItemValue: any;
constructor();
ngOnInit(): void;
ngAfterContentInit(): void;
onKeyDown(event: KeyboardEvent): void;
onKeyUp(event: KeyboardEvent): void;
onTextFieldChange(): void;
onFocus(focus: boolean): void;
private setNativeInputAtrributes();
}