UNPKG

ngx-form-control

Version:
21 lines (20 loc) 685 B
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; }