0.0.2 • Published 2 years ago

@encoreskytech/ng-otp-input-box v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Installation

npm install --save @encoreskytech/ng-otp-input-box

Usage

Add NgOtpInputBoxModule to imports app.module.ts something like

import { AppComponent } from  './app.component';
import { OtpInputBoxModule } from  '@encoreskytech/ng-otp-input-box';

    @NgModule({
    declarations: [AppComponent],
    imports: [OtpInputBoxModule]
    })

Add component to your page:

<ng-otp-input-box [otpLength]="6" [onlyNumber]="false" [upperCase]="true" [mask]="false" (onInputChange)="fetchOTPvalue($event)" ></ng-otp-input-box>

API

Contributor

Mahesh Soni