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
Copy file name to clipboardExpand all lines: readme.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,13 +227,13 @@ var qrcode = new QRCode(options);
227
227
| **quietZone** | N | Number | `0` | Quiet Zone size |
228
228
| **quietZoneColor** | N | String | `transparent` | Background CSS color to Quiet Zone |
229
229
| Logo options| --- | ---|---|---|
230
-
| **logo** | N | String | `undefined` | Logo Image Path. If use relative address, relative to `easy.qrcode.min.js` |
230
+
| **logo** | N | String | `undefined` | Logo Image Path or Base64 encoded image. If use relative address, relative to `easy.qrcode.min.js` |
231
231
| **logoWidth** | N | Number | `undefined` | Height |
232
232
| **logoHeight** | N | Number | `undefined` | Width |
233
233
| **logoBackgroundTransparent** | N | Boolean | `false` | Whether the background transparent image(`PNG`) shows transparency. When `true`, `logoBackgroundColor` is invalid |
234
234
| **logoBackgroundColor** | N | String | `#ffffff` | Set Background CSS Color when image background transparent. Valid when `logoBackgroundTransparent` is `false` |
235
235
| Backgroud Image options| ---|--- |---|---|
236
-
| **backgroundImage** | N | String | `undefined` | Background Image Path. If use relative address, relative to `easy.qrcode.min.js` |
236
+
| **backgroundImage** | N | String | `undefined` | Background Image Path or Base64 encoded image. If use relative address, relative to `easy.qrcode.min.js` |
237
237
| **backgroundImageAlpha** | N | Number | `1.0` | Background image transparency. Ranges: `0-1.0` |
238
238
| **autoColor** | N | Boolean | `false` | Automatic color adjustment |
239
239
| Posotion Pattern Color options| --- | ---|---|---|
0 commit comments