JSPM

ngx-qrcode3

0.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q49453F
  • License MIT

An Angular 4+ component for generating QRCodes

Package Exports

  • ngx-qrcode3

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ngx-qrcode3) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ngx-qrcode

An Angular 4+ Component library for Generating QR (Quick Response ) Codes .

Demo

A simple demo

Credits

This package is a fork from techiediaries/ngx-qrcode.

Improvements

I have added the functionality to customize the version and error correction level of the QR code used during the generation process. Now you can use two new attributes in the component to send information to it from parent: qrc-version and qrc-correction-level.

Installation

To use this version of ngx-qrcode in your project, install it via npm:

$ npm install ngx-qrcode3 --save

Usage

For a complete and detailed tutorial on how to use this library .See :

How to Generate QR Codes In Angular 4+ Applications

Import the NgxQRCodeModule from ngx-qrcode into your app :

Once the library is imported, you can use the ngx-qrcode component in your Angular application:

<!-- Adding a qrcode generator component in app.component.html -->

<ngx-qrcode [qrc-value]="value" [qrc-version]=5 [qrc-correction-level]="'L'"></ngx-qrcode>

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 Improvement: Xavis