QR code and barcode scanner for Ember based on @zxing/library. (Demo)
ember install ember-scanner
or
device
: Id of video-device (camera) to use for scanning (use one of the devices reported byonDevicesFound
orundefined
for automatic selection)onScanSuccess
: Reports scan results as object after valid code was scanned. Decoded message is intext
onScanError
: In case error occurs during scanningonDevicesFound
: Reports list of available devices/cameras as objects with fieldslabel
,deviceId
onDevicesError
: In case scan for devices fails
See the Contributing guide for details.
This project is licensed under the MIT License.