diff --git a/src/components/input/nz-input.component.ts b/src/components/input/nz-input.component.ts index 6334ca87d68..34f75372e40 100644 --- a/src/components/input/nz-input.component.ts +++ b/src/components/input/nz-input.component.ts @@ -9,9 +9,18 @@ import { EventEmitter, ContentChild, forwardRef, - AfterContentInit, HostListener + AfterContentInit, + HostListener, + AfterViewInit, + ViewChild } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; +import calculateNodeHeight from '../util/calculate-node-height'; + +export interface AutoSizeType { + minRows?: number; + maxRows?: number; +} @Component({ selector : 'nz-input', @@ -43,6 +52,7 @@ import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';