@encoreskytech/ng-otp-input-box
v0.0.2
Published
A customizable, OTP input module for the web built with Angular
Downloads
10
Readme
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>