ng2-qrcode-reader

An Angular 4+ component for reading QRCodes

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ng2-qrcode-reader
160.0.15 years ago5 years agoMinified + gzip package size for ng2-qrcode-reader in KB

Readme

ng2-qrcode-reader
An Angular 4+ Component library for Reading QR (Quick Response ) Codes .
You can pass QRCode as URL to image ,DATA URL Or canvas context data .

Demo

A simple demo

Installation

To use ng2-qrcode-reader in your project, install it via npm:
$ npm install ng2-qrcode-reader --save

Usage

For a complete and detailed tutorial on how to use this library .See :
How to Generate/Read QR Codes In Angular 4+ Applications
Import the NgQRCodeReaderModule from ng2-qrcode-reader into your app :
Once the library is imported, you can use the ng2-qrcode-reader component in your Angular application:
<ng2-qrcode-reader (result)="render($event)" [qrr-show]="showQRCode" [qrr-value]="value" [qrr-type]="elementType"></ng2-qrcode-reader>

Development

To generate all *.js, *.d.ts and *.metadata.json files:
$ npm run build

To lint all *.ts files:
$ npm run lint

License

MIT © Techiediaries