ngx-form-control
Version:
Form controls for angular 6
17 lines (16 loc) • 628 B
TypeScript
import { ElementRef } from '@angular/core';
import { NgModel, ValidationErrors } from '@angular/forms';
import { BaseListControlComponent } from '../../utils/base-list-control.component';
export declare class FormSelectComponent extends BaseListControlComponent {
customSelect: NgModel;
customSelectElement: ElementRef;
multiple: boolean;
readonly isEmpty: boolean;
readonly value: any;
readonly invalid: boolean;
readonly valid: boolean;
readonly errorMessages: Array<string>;
writeValue(value: any | Array<any>): void;
validate(): ValidationErrors;
reset(): void;
}