[59329aa] | 1 | import { ElementRef, EventEmitter, AfterViewInit, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
---|
| 2 | import { NgModel, NgControl } from '@angular/forms';
|
---|
| 3 | import { Subscription } from 'rxjs';
|
---|
| 4 | import * as i0 from "@angular/core";
|
---|
| 5 | import * as i1 from "@angular/common";
|
---|
| 6 | export declare class InputTextarea implements OnInit, AfterViewInit, OnDestroy {
|
---|
| 7 | el: ElementRef;
|
---|
| 8 | ngModel: NgModel;
|
---|
| 9 | control: NgControl;
|
---|
| 10 | private cd;
|
---|
| 11 | autoResize: boolean;
|
---|
| 12 | onResize: EventEmitter<any>;
|
---|
| 13 | filled: boolean;
|
---|
| 14 | cachedScrollHeight: number;
|
---|
| 15 | ngModelSubscription: Subscription;
|
---|
| 16 | ngControlSubscription: Subscription;
|
---|
| 17 | constructor(el: ElementRef, ngModel: NgModel, control: NgControl, cd: ChangeDetectorRef);
|
---|
| 18 | ngOnInit(): void;
|
---|
| 19 | ngAfterViewInit(): void;
|
---|
| 20 | onInput(e: any): void;
|
---|
| 21 | updateFilledState(): void;
|
---|
| 22 | onFocus(e: any): void;
|
---|
| 23 | onBlur(e: any): void;
|
---|
| 24 | resize(event?: Event): void;
|
---|
| 25 | updateState(): void;
|
---|
| 26 | ngOnDestroy(): void;
|
---|
| 27 | static ɵfac: i0.ɵɵFactoryDeclaration<InputTextarea, [null, { optional: true; }, { optional: true; }, null]>;
|
---|
| 28 | static ɵdir: i0.ɵɵDirectiveDeclaration<InputTextarea, "[pInputTextarea]", never, { "autoResize": "autoResize"; }, { "onResize": "onResize"; }, never>;
|
---|
| 29 | }
|
---|
| 30 | export declare class InputTextareaModule {
|
---|
| 31 | static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaModule, never>;
|
---|
| 32 | static ɵmod: i0.ɵɵNgModuleDeclaration<InputTextareaModule, [typeof InputTextarea], [typeof i1.CommonModule], [typeof InputTextarea]>;
|
---|
| 33 | static ɵinj: i0.ɵɵInjectorDeclaration<InputTextareaModule>;
|
---|
| 34 | }
|
---|