@@ -28,18 +28,18 @@ document.getElementById('placeHolder').innerHTML = qr.createImgTag();
2828#### qrcode(typeNumber, errorCorrectionLevel) => <code >QRCode</code >
2929Create a QRCode Object.
3030
31- | Param | Type | Description |
32- | ---------------------| ------------------- | ------------------------------------------- |
33- | typeNumber | <code >number</code > | Type number (1 ~ 40) |
34- | errorCorrectionLevel | <code >string</code > | Error correction level ('L', 'M', 'Q', 'H') |
31+ | Param | Type | Description |
32+ | ---------------------| ------------------- | ---------------------------------------------- |
33+ | typeNumber | <code >number</code > | Type number (1 ~ 40), or 0 for auto detection. |
34+ | errorCorrectionLevel | <code >string</code > | Error correction level ('L', 'M', 'Q', 'H') |
3535
3636#### qrcode.stringToBytes(s) : <code >number[ ] </code >
3737Encodes a string into an array of number(byte) using any charset.
3838This function is used by internal.
3939Overwrite this function to encode using a multibyte charset.
4040
4141| Param | Type | Description |
42- | ------- | ------------------- | ---------------- |
42+ | ------ | ------------------- | ---------------- |
4343| s | <code >string</code > | string to encode |
4444
4545### QRCode
@@ -48,7 +48,7 @@ Overwrite this function to encode using a multibyte charset.
4848Add a data to encode.
4949
5050| Param | Type | Description |
51- | ------- | ------------------- | ---------------------------------------------------------- |
51+ | ------ | ------------------- | ---------------------------------------------------------- |
5252| data | <code >string</code > | string to encode |
5353| mode | <code >string</code > | Mode ('Numeric', 'Alphanumeric', 'Byte'(default), 'Kanji') |
5454
@@ -64,7 +64,7 @@ The module at row and col is dark or not.
6464_ [ Note] call make() before this function._
6565
6666| Param | Type | Description |
67- | ------ | ------------------- | ------------------- |
67+ | ----- | ------------------- | ------------------- |
6868| row | <code >number</code > | 0 ~ moduleCount - 1 |
6969| col | <code >number</code > | 0 ~ moduleCount - 1 |
7070
@@ -75,7 +75,7 @@ Helper functions for HTML.
7575 _ [ Note] call make() before these functions._
7676
7777| Param | Type | Description |
78- | --------- | ------------------- | --------------------- |
78+ | -------- | ------------------- | --------------------- |
7979| cellSize | <code >number</code > | default: 2 |
8080| margin | <code >number</code > | default: cellSize * 4 |
8181
0 commit comments