Skip to content

Commit 5ba736e

Browse files
committed
Update API links to use direct property anchors
- Update duplicateForgetTime and engineResourcePaths links in user guide - Update showUploadImageButton, showCloseButton, showFlashButton, cameraSwitchControl, duplicateForgetTime links in customization guide
1 parent 9c8ca0a commit 5ba736e

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

programming/javascript/user-guide/barcode-scanner-customization.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,21 +79,21 @@ The `BarcodeScannerView` is composed of the following UI elements:
7979

8080
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.
8181

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.
8383

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.
8585

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.
8787

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.
8989

9090
### BarcodeResultView (MULTI_UNIQUE mode only)
9191

9292
Here is a quick breakdown of the `MULTI_UNIQUE` UI elements of the `BarcodeResultView` view:
9393

9494
<img src="./assets/resultView.png" alt="description" style="display: block; margin: 0 auto; width: 35%;"/>
9595

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#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).
9797

9898
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).
9999

programming/javascript/user-guide/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const barcodeScanner = new Dynamsoft.BarcodeScanner({
140140
});
141141
```
142142

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).
144144
- **`onUniqueBarcodeScanned`** — Callback fires each time a new unique barcode is detected
145145

146146
For help obtaining a license, see the [License](#license) section.
@@ -191,7 +191,7 @@ yarn add dynamsoft-barcode-reader-bundle@11.2.4000
191191
```
192192

193193
> [!NOTE]
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 [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.
195195
196196
### Self-Hosting
197197

0 commit comments

Comments
 (0)