Skip to content

Commit 50e5226

Browse files
committed
update links
1 parent 42efa36 commit 50e5226

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

barcode-scanner-api-samples/scan-multiple-barcodes/hello-world.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ <h1 class="barcode-scanner-title">
6464
// Set scan mode to detect multiple unique barcodes per scan session
6565
scanMode: Dynamsoft.EnumScanMode.SM_MULTI_UNIQUE,
6666

67-
// Display a result view for barcodes detected
68-
showResultView: true,
67+
// showResultView: true,
6968

7069
// Enable an "Upload Image" button for scanning barcodes from existing images
7170
showUploadImageButton: true,
@@ -74,7 +73,7 @@ <h1 class="barcode-scanner-title">
7473

7574
// Additional configuration for the scanner UI
7675
scannerViewConfig: {
77-
showCloseButton: true, // Display a close button on the scanner interface,
76+
// showCloseButton: false, // Uncomment to show a close button in the scanner UI
7877
showFlashButton: true,
7978
cameraSwitchControl: "toggleFrontBack"
8079
},

barcode-scanner-api-samples/scan-single-barcode/scan-and-search.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ <h3></h3>
4545
const barcodeScanner = new Dynamsoft.BarcodeScanner({
4646
license: "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", // Replace with valid license key
4747
scanMode: Dynamsoft.EnumScanMode.SM_SINGLE,
48-
showUploadImageButton: true,
4948
scannerViewConfig: {
5049
container: scannerContainer,
51-
showCloseButton: true,
5250
},
5351
});
5452

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ <h3>BarcodeScanner API Samples</h3>
119119
JavaScript code to scan a barcode from camera."><a class="button title" href="barcode-scanner-api-samples/scan-single-barcode/hello-world.html">Hello World</a><span id="icon001" class="tooltipIcon"></span>
120120
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/barcode-scanner-api-samples/scan-single-barcode/hello-world.html" title="Check code on GitHub"></a></span>
121121
</div>
122+
<div class="file"><span data-balloon-length="large" data-balloon-pos="down" aria-label="Scan a product barcode
123+
and simulate a search from a product database."><a class="button title" href="barcode-scanner-api-samples/scan-single-barcode/scan-and-search.html">Hello World</a><span id="icon001" class="tooltipIcon"></span>
124+
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/barcode-scanner-api-samples/scan-single-barcode/scan-and-search.html" title="Check code on GitHub"></a></span>
125+
</div>
122126
<div class="file"><span data-balloon-length="large" data-balloon-pos="down" aria-label="Read barcodes from camera and images in an Angular
123127
Application."><a class="button title" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/barcode-scanner-api-samples/scan-single-barcode/angular">Hello World in
124128
Angular (<img alt="Angular logo"

0 commit comments

Comments
 (0)