Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@encoreskytech/ng-otp-input-box

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@encoreskytech/ng-otp-input-box

A customizable, OTP input module for the web built with Angular

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

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

NameTypeRequireddefaultDescription
otpLengthBooleanfalse6Length of the otp
onlyNumberBooleanfalse--To allow only integer values
upperCaseBooleanfalse--To make input field capitalize
maskBooleanfalse--To make input field as password
onInputChangefunctiontrue--Function that will receive the otp

Contributor

Mahesh Soni

Keywords

FAQs

Package last updated on 08 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc