1.0.4 • Published 1 month ago

html5-qrcode-angular v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Angular HTML5 QRCode

This is the angular adaptation of the "HTML5 QRCode". For the documentation please have a look at https://github.com/mebjas/html5-qrcode.

Install using:

npm i ngx-html5-qrcode-16

Angular usage - viz. example project in github

<div style="width: 800px; height: 600px;">
  <html5-qrcode(decodedText)="decodedText = $event" (decodedResult)="qrCodeSuccess($event)"></html5-qrcode>
</div>

Other options:

  • useFrontCamera=true|false
  • config - Html5QrcodeCameraScanConfig entity from the original library
    • Example: {fps: 10, qrbox: {width: 250, height: 250}}

Development

Pull requests are welcome.

Building the package:

ng-packagr -p ng-package.json 

Deploying the package:

cd dist
npm version <new-version>
npm publish
1.0.4

1 month ago

1.0.3

1 month ago

1.0.2

1 month ago

1.0.1

1 month ago

1.0.0

1 month ago