@psyora/ngx-qr-with-image
v1.0.0
Published
Shows an QR Code including an image. Includes an event to receive a blob for downloading as image.
Downloads
1
Maintainers
Readme
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":