An interactive Pinpad widget for point of sale (POS) or encrypted pinpad (EPP) simulation
npm install jquery-ui-pinpadhtml
`
Usage
$3
The jQuery UI Pinpad is tied to a standard form input field.
Insert an input text where to apply the PIN pad feature
`html
`
Create the pinpad widget for the input text
`javascript
$( "#pinpad" ).pinpad();
`
This will generate an interactive pinpad which will be initially hidden. The user just have to focus the input (click inside or use the tab key) to open the interactive pinpad in small overlay.
$3
The jQuery UI Pinpad can also be displayed embedded in the page instead of an overlay.
Insert an input text where to apply the PIN pad feature
`html
`
Insert the div that will contain the interactive pinpad
`html
`
Create the pinpad widget for the input text
`javascript
$( "#pinpad" ).pinpad( {
appendTo: "#container"
} );
`
This will generate an interactive pinpad inside element specified by the appendTo` option to use during the pinpad widget initialization.