Closed Tecuciztecatl closed 5 years ago
@lindell This PR is an enhancement to the current code in that this gives the ability to render as canvas, image, or svg; it will not affect any current implementation as it defaults to svg (current implementation).
These changes is now published to npm under 1.2.0
Added elementTag to define if the barcode should be rendered as canvas, svg, or an img. Also, now it is forcing the value passed to be a String