angular7-pincode
Version:
a simple directive for otp input template like on mobile otp input template
19 lines (18 loc) • 579 B
TypeScript
import { OnInit, ElementRef, QueryList, EventEmitter } from '@angular/core';
export declare class Angular7PincodeComponent implements OnInit {
allOtpInputs: QueryList<ElementRef>;
onFullFill: EventEmitter<string>;
size: number;
class: string;
isOnlyNumeric: boolean;
pin: string[];
pinCode: string;
currentIndex: number;
otpRegex: RegExp;
constructor();
ngOnInit(): void;
getPin(): void;
onKeyUp(event: any, index: any): boolean;
onKeyDown(event: any, index: any): void;
trackByFn(index: any): any;
}