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
- Update duplicateForgetTime and engineResourcePaths links in user guide
- Update showUploadImageButton, showCloseButton, showFlashButton, cameraSwitchControl, duplicateForgetTime links in customization guide
Copy file name to clipboardExpand all lines: programming/javascript/user-guide/barcode-scanner-customization.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,21 +79,21 @@ The `BarcodeScannerView` is composed of the following UI elements:
79
79
80
80
1.**Camera View**: The Camera View is the camera viewfinder UI component within the `BarcodeScannerView`. This viewfinder occupies the majority of the space within the `BarcodeScannerView` to give the user a clear view and precise control of the image being scanned.
81
81
82
-
2.**Load Image Button**: This button allows the user to scan a file of a barcode-containing image from the device's local storage. You can decide whether to show or hide the button by [showUploadImageButton]({{ site.js_api }}barcode-scanner.html#barcodescannerconfig) property.
82
+
2.**Load Image Button**: This button allows the user to scan a file of a barcode-containing image from the device's local storage. You can decide whether to show or hide the button by [showUploadImageButton]({{ site.js_api }}barcode-scanner.html#showuploadimagebutton) property.
83
83
84
-
3.**Close Scanner Button**: This button closes the Barcode Scanner, returns a [`BarcodeScanResult`]({{ site.js_api }}barcode-scanner.html#barcodescanresult) object and destroys the **`BarcodeScanner`** instance. You can decide whether to show or hide the button by [showCloseButton]({{ site.js_api }}barcode-scanner.html#scannerviewconfig) property.
84
+
3.**Close Scanner Button**: This button closes the Barcode Scanner, returns a [`BarcodeScanResult`]({{ site.js_api }}barcode-scanner.html#barcodescanresult) object and destroys the **`BarcodeScanner`** instance. You can decide whether to show or hide the button by [showCloseButton]({{ site.js_api }}barcode-scanner.html#showclosebutton) property.
85
85
86
-
4.**Flash Button**: This button allows the user to toggle the camera's torch. You can decide whether to show or hide the button by [showFlashButton]({{ site.js_api }}barcode-scanner.html#barcodescannerconfig) property.
86
+
4.**Flash Button**: This button allows the user to toggle the camera's torch. You can decide whether to show or hide the button by [showFlashButton]({{ site.js_api }}barcode-scanner.html#showflashbutton) property.
87
87
88
-
5.**Camera Switch Button**: This button allows the users to change between cameras. You can specify the mode and visibility of the camera switch control by [cameraSwitchControl]({{ site.js_api }}barcode-scanner.html#scannerviewconfig) property.
88
+
5.**Camera Switch Button**: This button allows the users to change between cameras. You can specify the mode and visibility of the camera switch control by [cameraSwitchControl]({{ site.js_api }}barcode-scanner.html#cameraswitchcontrol) property.
89
89
90
90
### BarcodeResultView (MULTI_UNIQUE mode only)
91
91
92
92
Here is a quick breakdown of the `MULTI_UNIQUE` UI elements of the `BarcodeResultView` view:
1.**Barcode Results List**: The list used to display the decoding results.The list is updated whenever a new barcode is successfully decoded, or the same code is detected again after a specific [duplicateForgetTime]({{ site.js_api }}barcode-scanner.html#barcodescannerconfig).
96
+
1.**Barcode Results List**: The list used to display the decoding results.The list is updated whenever a new barcode is successfully decoded, or the same code is detected again after a specific [duplicateForgetTime]({{ site.js_api }}barcode-scanner.html#duplicateforgettime).
97
97
98
98
2.**Clear Button**: The button on the bottom left, which clears all elements of the current `Barcode Results List`. You can change the style of the Button with [BarcodeResultViewToolbarButtonsConfig]({{ site.js_api }}barcode-scanner.html#barcoderesultviewtoolbarbuttonsconfig).
Copy file name to clipboardExpand all lines: programming/javascript/user-guide/index.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
@@ -140,7 +140,7 @@ const barcodeScanner = new Dynamsoft.BarcodeScanner({
140
140
});
141
141
```
142
142
143
-
-**`scanMode: SM_MULTI_UNIQUE`** — Keeps the scanner open and collects unique barcodes (deduplicated by format + text within a 3-second window). Adjust via [`duplicateForgetTime`](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html#barcodescannerconfig).
143
+
-**`scanMode: SM_MULTI_UNIQUE`** — Keeps the scanner open and collects unique barcodes (deduplicated by format + text within a 3-second window). Adjust via [`duplicateForgetTime`](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html#duplicateforgettime).
144
144
-**`onUniqueBarcodeScanned`** — Callback fires each time a new unique barcode is detected
145
145
146
146
For help obtaining a license, see the [License](#license) section.
> When using npm/yarn, you need to configure `engineResourcePaths` to specify where the SDK's engine files are located. See the [frameworks samples](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/frameworks) or [BarcodeScannerConfig API](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html#barcodescannerconfig) for details.
194
+
> When using npm/yarn, you need to configure `engineResourcePaths` to specify where the SDK's engine files are located. See the [frameworks samples](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/frameworks) or [engineResourcePaths API](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html#engineresourcepaths) for details.
0 commit comments