@funidata/ngx-fudis
Version:
Funidata Design System.
23 lines (22 loc) • 1.27 kB
TypeScript
import { OnChanges, OnInit } from '@angular/core';
import { FormControl } from '@angular/forms';
import { FudisIdService } from '../../../services/id/id.service';
import { FudisFocusService } from '../../../services/focus/focus.service';
import { FudisComponentChanges } from '../../../types/miscellaneous';
import { TextFieldComponentBaseDirective } from '../../../directives/form/text-field-component-base/text-field-component-base.directive';
import * as i0 from "@angular/core";
export declare class TextAreaComponent extends TextFieldComponentBaseDirective implements OnInit, OnChanges {
constructor(_focusService: FudisFocusService, _idService: FudisIdService);
/**
* FormControl binded to the HTML textarea element
*/
control: FormControl<string | null | number>;
/**
* Subscription for handling the valueChanges observable
*/
private _subscription;
ngOnInit(): void;
ngOnChanges(changes: FudisComponentChanges<TextAreaComponent>): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "fudis-text-area", never, { "control": { "alias": "control"; "required": true; }; }, {}, never, ["fudis-error-message"], false, never>;
}