ngx-form-control
Version:
Form controls for angular 6
21 lines (20 loc) • 685 B
TypeScript
import { NgModel, ValidationErrors } from '@angular/forms';
import { BaseControlComponent } from '../../utils/base-control.component';
export declare class FormTextareaComponent extends BaseControlComponent {
rows: number;
readonly: boolean;
minlength: number;
maxlength: number;
trimResult: boolean;
minLengthErrorMessage: string;
customTextarea: NgModel;
private _innerValue;
value: string;
readonly hasMinLengthError: boolean;
readonly invalid: boolean;
readonly valid: boolean;
readonly errorMessages: Array<string>;
writeValue(value: string): void;
validate(): ValidationErrors;
reset(): void;
}