Skip to content

A lightweight digit-input component for mobile frontend.

License

Notifications You must be signed in to change notification settings

shenfe/DigitInput

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

DigitInput

A lightweight digit-input component for mobile frontend, where users are required to input a length-specific digit string.

Demo

Demo

Usage

<div id="inputBox_wrapper"></div>
<script>
    window.onload = function () {
        digitinput('#inputBox_wrapper', {
            lenSpec: 6
        }, function (s) {
            alert('You input: ' + s);
        });
    };
</script>

About

A lightweight digit-input component for mobile frontend.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published