ScannerKeystrokeObserver 0.2.2
ScannerKeystrokeObserver is a class to automatically detect entries from a hardware device that generates keystrokes (like a barcode scanner).
Details
- Author
- Pat Cullen
- Current version
- 0.2.2
- GitHub
- patcullen/BarcodeReader
- Downloads
- 5878
- Category
- Utilities
- Tags
- Report
- GitHub Issues
Releases
Dependencies
- _self_/_current_: core/1.2.4: [Class, Class.Extras, DomReady]
How to use
Include a reference to the ScannerKeystrokeObserver.js script file and the following code in a script block in the head of your web page.
new ScannerKeystrokeObserver({
onRead: function(v) {
$('txtGlobal').set('value', v).highlight();
}
});
Discuss
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus