@encoreskytech/ng-char-limit-hint
Version:
To initialize the char limit feature on text input
17 lines (16 loc) • 517 B
TypeScript
import { OnInit, ElementRef, AfterViewInit } from '@angular/core';
export declare class CharLimitHintComponent implements OnInit, AfterViewInit {
content: ElementRef;
maxCharLimit: number;
format: string;
parentClass: string;
hintTextClass: string;
formattedRemainCharCount: string;
remainingCharCount: number;
constructor();
ngOnInit(): void;
ngAfterViewInit(): void;
remainCount(event: any): void;
getFormattedResult(): void;
isValidKey(keycode: any): boolean;
}