Skip to content

Commit 8e50b8b

Browse files
update to internal commit 253e0470
1 parent d0018ef commit 8e50b8b

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

programming/javascript/api-reference/barcode-scanner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ interface BarcodeScanResult {
328328

329329
| Property | Type | Description |
330330
| ----------------------- | ------------------------------ | --------------------------------------------------------------- |
331-
| `status` (optional) | [`ResultStatus`](#resultstatus) | The status of the barcode scanning, which can be successful, cancelled, or failed (indicating that something has gone wrong during the scanning process). |
331+
| `status` (optional) | [`ResultStatus`](#resultstatus) | The status of the barcode scanning, which can be success, cancelled, or failed (indicating that something has gone wrong during the scanning process). |
332332
| `originalImageResult` (optional) | [`DSImageData`]({{ site.dcvb_js_api }}core/basic-structures/ds-image-data.html) | A `DSImageData` object that represents the original image of the successfully decoded barcode. |
333333
| `barcodeResults` (optional) | [`Array<BarcodeResultItem>`]({{ site.js_api }}interfaces/barcode-result-item.html) | An array of BarcodeResultItem Represents the decoded barcode(s). |
334334

@@ -356,7 +356,7 @@ interface UtilizedTemplateNames {
356356

357357
### ResultStatus
358358

359-
ResultStatus is used to represent the status of the barcode scanning result. This status can be **successfully**, **cancelled** if the user closes the scanner during scanning, or **failed** if something went wrong during the scanning process. The *code* of the result status is a [`EnumResultStatus`](#enumresultstatus).
359+
ResultStatus is used to represent the status of the barcode scanning result. This status can be **success**, **cancelled** if the user closes the scanner during scanning, or **failed** if something went wrong during the scanning process. The *code* of the result status is a [`EnumResultStatus`](#enumresultstatus).
360360

361361
```ts
362362
type ResultStatus = {

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ description: Dynamsoft Barcode Scanner User Guide
1010

1111
# Barcode Scanner JavaScript Edition - User Guide
1212

13+
- [Barcode Scanner JavaScript Edition - User Guide](#barcode-scanner-javascript-edition---user-guide)
14+
- [License](#license)
15+
- [Trial License](#trial-license)
16+
- [Full License](#full-license)
17+
- [Quick Start: Hello World Example](#quick-start-hello-world-example)
18+
- [Step 1: Setting up the HTML and Including the Barcode Scanner](#step-1-setting-up-the-html-and-including-the-barcode-scanner)
19+
- [Step 2: Initializing the Barcode Scanner](#step-2-initializing-the-barcode-scanner)
20+
- [Step 3: Launching the Barcode Scanner](#step-3-launching-the-barcode-scanner)
21+
- [Next Steps](#next-steps)
22+
1323
This user guide provides a step-by-step walkthrough of a "Hello World" web application using the `BarcodeScanner` JavaScript Edition.
1424

1525
The `BarcodeScanner` class offers the following features:
@@ -55,6 +65,8 @@ new Dynamsoft.BarcodeScanner().launch().then(result=>alert(result.barcodeResults
5565

5666
When getting started with Barcode Scanner, we recommend [getting your own 30-day trial license](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=guide&package=js)
5767

68+
<!-- {% include trialLicense.html %} -->
69+
5870
> [!IMPORTANT]
5971
> The trial license can be renewed via the [customer portal](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=guide&package=js) twice, each time for another 15 days, giving you a total of 60 days to develop your own application using the solution. Please contact the [Dynamsoft Support Team](https://www.dynamsoft.com/company/contact/) if you need more time for a full evaluation.
6072
@@ -103,7 +115,7 @@ If you are fully satisfied with the solution and would like to move forward with
103115
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
104116
</a>
105117
&nbsp;
106-
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/hello-world/hello-world.html?ver=10.5.30&utm_source=guide" title="Run in Dynamsoft" style="text-decoration:none;">
118+
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=10.5.30&utm_source=guide" title="Run in Dynamsoft" style="text-decoration:none;">
107119
<img src="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.0.0/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
108120
</a>
109121
</p>
@@ -237,7 +249,7 @@ Now that the Barcode Scanner has been initialized and configured, it is ready to
237249
238250
## Next Steps
239251

240-
Now that youve implemented the basic functionality, here are some recommended next steps to further explore the capabilities of the Barcode Scanner
252+
Now that you've implemented the basic functionality, here are some recommended next steps to further explore the capabilities of the Barcode Scanner
241253

242254
1. Learn how to [Customize the Barcode Scanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner-customization.html)
243255
2. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=10.5.30)

0 commit comments

Comments
 (0)