- Notifications
You must be signed in to change notification settings - Fork5
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
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An Input Form Element to enter OTP Number, PIN or split single characters.
Demo Link -http://plnkr.co/edit/eCHuJT?p=preview
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 the
otpInputDirective
module in your application.
angular.module('app',['otpInputDirective']);
<divotp-input-directiveoptions="otpInput"></div>
$scope.otpInput={size:6,type:"text",onDone:function(value){console.log(value);},onChange:function(value){console.log(value);}};
About
An Input Form Element to enter OTP Number, PIN or split single characters.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.