moh-common-lib
Version:
A library of Angular components, services, and styles for B.C. Government Ministry of Health (MoH).
21 lines (20 loc) • 648 B
TypeScript
import { ControlValueAccessor, NgControl } from '@angular/forms';
import { Base } from '../../models/base';
export declare class DropdownComponent extends Base implements ControlValueAccessor {
controlDir: NgControl;
model: any;
items: any[];
label: string;
placeholder: string;
autocorrect: string;
addTag: boolean;
addTagText: string;
required: boolean;
clearable: boolean;
_onChange: (_: any) => void;
_onTouched: () => void;
constructor(controlDir: NgControl);
writeValue(value: any): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
}