Skip to content

Commit 8514e8b

Browse files
committed
Add context for BarcodeScanner and Foundational API in intro page
1 parent dd14f2a commit 8514e8b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

programming/javascript/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ npm install dynamsoft-barcode-reader-bundle@11.2.4000
3939

4040
## BarcodeScanner – One Line of Code
4141

42-
Add barcode scanning to your website with a single line of code:
42+
`BarcodeScanner` is a ready-to-use class that combines barcode decoding with camera control and UI—all in one. Add barcode scanning to your website with a single line of code:
4343

4444
```js
4545
new Dynamsoft.BarcodeScanner().launch().then(result=>alert(result.barcodeResults[0].text));
@@ -58,14 +58,14 @@ That's it. The `BarcodeScanner` class handles everything:
5858
- **UI rendering** – Built-in viewfinder with scan region highlighting
5959
- **Lifecycle management** – Start, pause, resume, and cleanup handled for you
6060

61-
This is the recommended way to use DBR-JS for most applications.
61+
This is the recommended way to use DBR-JS for most applications. For advanced use cases requiring custom UI or integration with other Dynamsoft products, there's also a lower-level Foundational API.
6262

6363
## Next Step
6464

6565
| Use Case | Recommended |
6666
|----------|-------------|
67-
| Quick integration with built-in UI | [BarcodeScanner Guide](user-guide/index.html) |
68-
| Custom UI, fine-grained control, or extended workflows | [Foundational API Guide](user-guide/foundational-api.html) |
67+
| Quick integration with built-in UI | [BarcodeScanner Guide](user-guide/index.html) (Recommended) |
68+
| Custom UI, fine-grained control, or extended workflows | [Foundational API Guide](user-guide/foundational-api.html) (lower-level APIs) |
6969
| Need help deciding? | [Contact us](https://www.dynamsoft.com/contact/) |
7070

7171
## See Also

0 commit comments

Comments
 (0)