tolga-ng2
Version:
Angular 2/4 components and directives
33 lines (32 loc) • 1.24 kB
TypeScript
import { OnChanges } from '@angular/core';
import { ControlValueAccessor } from "@angular/forms";
import { NgsmAutocompleteConfig } from '../../models/ngsmAutocompleteConfig';
import * as i0 from "@angular/core";
export declare class NgsmAutocompleteComponent implements OnChanges, ControlValueAccessor {
config: NgsmAutocompleteConfig;
get loadingClass(): string;
defaultTextId: string;
selectedItem: any;
isBusy: boolean;
remoteResponse: {
success: boolean;
results: any[];
};
constructor();
ngOnInit(): void;
ngOnChanges(): void;
setAutocompleteValidationClass(): string;
setIsActiveClass(): string;
setBusy($event: any): void;
init(): void;
clear(): void;
setDisplayValue(value: string): void;
get value(): any;
writeValue(value: any): void;
onTouchedCallback(): void;
registerOnTouched(): void;
propagateChange: (_: any) => void;
registerOnChange(fn: any): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NgsmAutocompleteComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgsmAutocompleteComponent, "ngsm-autocomplete", never, { "config": "config"; }, {}, never, never, false>;
}