Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "ngx-kjua", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -16,2 +16,4 @@ [![NPM version](https://img.shields.io/npm/v/ngx-kjua.svg?&label=npm)](https://www.npmjs.com/package/ngx-kjua) | ||
[StackBlitz](https://stackblitz.com/edit/ngx-kjua-batch?file=app/app.component.html) Example with 300 codes at once (async rendering) _(preview needs to be opened in new window)_ | ||
## Installation | ||
@@ -98,7 +100,10 @@ | ||
More details can be found on [larsjung.de/kjua](https://larsjung.de/kjua/) | ||
### Async rendering | ||
If you plan to render more than one barcode (e.g. batch-generation) I recommend using `renderAsync`-flag. It executes the rendering inside a "requestAnimationFrame"-call. | ||
## TODO | ||
* Add an example for `renderAsync` where lots of codes are generated | ||
* Show how to generate a PDF with codes using [jsPDF](https://github.com/MrRio/jsPDF) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60724
108