2.1.1 • Published 3 years ago

ngx-qr-with-image v2.1.1

Weekly downloads
45
License
CREATIVE COMMONS ...
Repository
github
Last release
3 years ago

NgxQrWithImage

On github you find the package within the folder 'projects'. Cloning the whole repository will include a runnable application showing the usage of the component. Install the package with the following commands.

npm install ngx-qr-with-image 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":

someFunction(event){
    console.log(event);
    // maybe use file-save 
    // saveAs(event, "someFile.png")
  }
2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.1

6 years ago