1.0.0 • Published 2 years ago

@psyora/ngx-qr-with-image v1.0.0

Weekly downloads
-
License
CREATIVE COMMONS ...
Repository
github
Last release
2 years ago

NgxQrWithImage

Install the package with the following commands.

npm install ngx-qr-with-image file-saver angular2-qrcode

Include in Module:

import { NgxQrWithImageModule } from 'ngx-qr-with-image';
...
  imports: [
    ...
    NgxQrWithImageModule
  ]
...

Usage:

<qr-img img="yourImage.png" content="content_shown_by_qr_code" 
        size="200"
        img-width="30"
        img-height="30"
        (change)="someFunction($event)
>
</qr-img>

size, img-width, img-height are not mandatory

Example for "someFunction":