You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Cross-browser QRCode generator for pure javascript. Support Canvas, SVG and Table drawing methods. Support Dot style, Logo, Background image, Colorful, Title etc. settings. Support Angular, Vue.js, React, Next.js framework. Support binary(hex) data mode.(Running with DOM on client side)
15
+
* Cross-browser QRCode generator for pure javascript. Support Canvas, SVG and Table drawing methods. Support Dot style, Logo, Background image, Colorful, Title etc. settings. Support Angular, Vue.js, React, Next.js, Svelte framework. Support binary(hex) data mode.(Running with DOM on client side)
Copy file name to clipboardExpand all lines: package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "easyqrcodejs",
3
-
"version": "4.3.5",
4
-
"description": "Cross-browser QRCode generator for pure javascript. Support Canvas, SVG and Table drawing methods. Support Dot style, Logo, Background image, Colorful, Title etc. settings. Support Angular, Vue.js, React, Next.js framework. Support binary(hex) data mode.(Running with DOM on client side)",
3
+
"version": "4.4.0",
4
+
"description": "Cross-browser QRCode generator for pure javascript. Support Canvas, SVG and Table drawing methods. Support Dot style, Logo, Background image, Colorful, Title etc. settings. Support Angular, Vue.js, React, Next.js, Svelte framework. Support binary(hex) data mode.(Running with DOM on client side)",
logoWidth: 80, // fixed logo width. default is `width/3.5`
228
+
logoHeight: 80, // fixed logo height. default is `heigth/3.5`
229
+
logoMaxWidth: undefined, // Maximum logo width. if set will ignore `logoWidth` value
230
+
logoMaxHeight: undefined, // Maximum logo height. if set will ignore `logoHeight` value
231
+
logoBackgroundColor: '#fffff', // Logo backgroud color, Invalid when `logBgTransparent` is true; default is '#ffffff'
232
+
logoBackgroundTransparent: false, // Whether use transparent image, default is false
231
233
*/
232
234
233
235
// ====== Backgroud Image
@@ -339,8 +341,10 @@ var qrcode = new QRCode(DOM_object, options_object);
339
341
|**quietZoneColor**| N | String |`rgba(0,0,0,0)`| Background CSS color to Quiet Zone | |
340
342
| Logo options| --- | ---|---|---|---|
341
343
|**logo**| N | String |`undefined`| Logo Image Path or Base64 encoded image. If use relative address, relative to `easy.qrcode.min.js`| |
342
-
|**logoWidth**| N | Number |`undefined`| Height | |
343
-
|**logoHeight**| N | Number |`undefined`| Width | |
344
+
|**logoWidth**| N | Number |`width/3.5`| Fixed logo width. | |
345
+
|**logoHeight**| N | Number |`height/3.5`| fixed logo height. | |
346
+
|**maxLogoWidth**| N | Number |`undefined`| Maximum logo width. if set will ignore `logoWidth` value. | |
347
+
|**maxLogoHeight**| N | Number |`undefined`| Maximum logo height. if set will ignore `logoHeight` value. | |
344
348
|**logoBackgroundTransparent**| N | Boolean |`false`| Whether the background transparent image(`PNG`) shows transparency. When `true`, `logoBackgroundColor` is invalid | |
345
349
|**logoBackgroundColor**| N | String |`#ffffff`| Set Background CSS Color when image background transparent. Valid when `logoBackgroundTransparent` is `false`| |
0 commit comments