ng2-qrcode-reader
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i ng2-qrcode-reader

Weekly Downloads

88

Version

0.0.1

License

MIT

Last publish

Collaborators

  • ahnerd