Socket
Socket
Sign inDemoInstall

@cmgustavo/ngx-qrcode

Package Overview
Dependencies
10
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @cmgustavo/ngx-qrcode

An Angular 4+ component for generating QRCodes


Version published
Maintainers
1
Created

Readme

Source

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 @cmgustavo/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

Keywords

FAQs

Last updated on 05 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc