web-otp-angular
Version:
Angular library to automatically detect OTP from mobile device (Both mobile web site and Desktop)
14 lines (13 loc) • 530 B
TypeScript
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import * as i0 from "@angular/core";
export declare class WebOtpDirective implements OnInit, OnDestroy {
private el;
private ac;
private timer;
constructor(el: ElementRef);
timeout?: number;
ngOnInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<WebOtpDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<WebOtpDirective, "[appWebOtp]", never, { "timeout": "timeout"; }, {}, never, never, false>;
}