goodeggs / angular-barcode-listener

Angular directive to listen for barcode scanner events
MIT License
16 stars 10 forks source link

support configurable scan duration #1

Closed makebbekus closed 9 years ago

makebbekus commented 9 years ago
<div barcode-listener on-scan="handleScan" prefix="C%" scan-duration=100>

This allows you to wait a custom amount of milliseconds before considering a scan is complete. It allows for scanners that transmit data more slowly or barcodes that are encoding more data.