pure-svg-code
pure-svg-code copied to clipboard
Generate qrcode & barcode to svg in pure javascript
Results
4
pure-svg-code issues
Sort by
recently updated
recently updated
newest added
Here is my code: ``` const svgString = barcode(original?.label?._id, 'code128', { width: '50', barWidth: 1, barHeight: 20, bgColor: '#ffffff', showHRI: true }); const url = svg2url(svgString); ``` And it looks...
The viewBox property is missing on the svg element. Scaling (inline) svg results in a image which is cut off. Line 798 `qrcode/index.js` ```js var svg = '' + '';...
![image](https://user-images.githubusercontent.com/22900487/56013107-d4fa7b00-5d21-11e9-8526-0d743f666456.png) 希望能够优化下