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: QRCode.js
+55-34Lines changed: 55 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
*
4
4
* React Native QRCode generation component. Can generate standard QRCode image or base64 image data url text. Cross-browser QRCode generator for pure javascript. Support Dot style, Logo, Background image, Colorful, Title etc. settings. support binary mode.
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "easyqrcode-react-native",
3
-
"version": "3.8.0",
3
+
"version": "3.9.0",
4
4
"description": "React Native QRCode generation component. Can get standard base64 image data url text or save image to file. Cross-browser QRCode generator for pure javascript. Support Dot style, Logo, Background image, Colorful, Title etc. settings. support binary mode.",
@@ -283,7 +285,9 @@ var qrcode = new QRCode(canvas_object, options_object);
283
285
| Backgroud Image options| ---|--- |---|---|
284
286
|**backgroundImage**| N | String |`undefined`| Background Image Path or Base64 encoded Image. If use relative address, relative to `easy.qrcode.min.js`|
285
287
|**backgroundImageAlpha**| N | Number |`1.0`| Background image transparency. Ranges: `0-1.0`|
286
-
|**autoColor**| N | Boolean |`false`| Automatic color adjustment |
288
+
|**autoColor**| N | Boolean |`false`| Automatic color adjustment(for data block) |
289
+
|**autoColorDark**| N | String |`rgba(0, 0, 0, .6)`| Automatic color: dark CSS color |
290
+
|**autoColorLight**| N | String |`rgba(255, 255, 255, .7)`| Automatic color: light CSS color |
287
291
| Posotion Pattern Color options| --- | ---|---|---|
288
292
|**PO**| N | String |`undefined`| Global Posotion Outer CSS color. if not set, the defaut is `colorDark`|
289
293
|**PI**| N | String |`undefined`| Global Posotion Inner CSS color. if not set, the defaut is `colorDark`|
0 commit comments