@mautematico/ngx-qrcode
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

ngx-qrcode

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

Installation

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

$ npm install @techiediaries/ngx-qrcode --save

Usage

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

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:

      <ngx-qrcode 
        [qrc-value] = "value"
        qrc-class = "aclass"
        qrc-errorCorrectionLevel = "L">
        </ngx-qrcode>

You can also specify the QRCode version (1 to 40) explicitely

      <ngx-qrcode 
        qrc-element-type="url" 
        [qrc-value] = "value"
        qrc-version = "40"></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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @mautematico/ngx-qrcode

    Weekly Downloads

    0

    Version

    0.0.9

    License

    MIT

    Unpacked Size

    12.9 kB

    Total Files

    9

    Last publish

    Collaborators

    • mautematico