ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
24 lines (23 loc) • 1.25 kB
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { AfterContentInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
import { NzInputDirective } from './input.directive';
import * as i0 from "@angular/core";
export declare class NzTextareaCountComponent implements AfterContentInit, OnDestroy {
private renderer;
private elementRef;
nzInputDirective: NzInputDirective;
nzMaxCharacterCount: number;
nzComputeCharacterCount: (v: string) => number;
nzFormatter: (cur: number, max: number) => string;
private configChange$;
private destroy$;
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>);
ngAfterContentInit(): void;
setDataCount(value: string): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzTextareaCountComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzTextareaCountComponent, "nz-textarea-count", never, { "nzMaxCharacterCount": "nzMaxCharacterCount"; "nzComputeCharacterCount": "nzComputeCharacterCount"; "nzFormatter": "nzFormatter"; }, {}, ["nzInputDirective"], ["textarea[nz-input]"]>;
}