Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An Input Form Element to enter OTP Number, PIN or split single characters.

License

NotificationsYou must be signed in to change notification settings

amstel91/otp-input-directive

Repository files navigation

An Input Form Element to enter OTP Number, PIN or split single characters.Alt Text

Usage

Add angular and otpInputDirective to your code

<scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.3/angular.min.js"></script><scriptsrc="otpInputDirective.min.js"></script>
  • Add a dependency to theotpInputDirective module in your application.
angular.module('app',['otpInputDirective']);

In your HTML:

<divotp-input-directiveoptions="otpInput"></div>

In your Angular Controller:

$scope.otpInput={size:6,type:"text",onDone:function(value){console.log(value);},onChange:function(value){console.log(value);}};

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp