-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (47 loc) · 1.54 KB
/
index.html
File metadata and controls
50 lines (47 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Vanilla JS STRICH Sample</title>
<link rel="stylesheet" type="text/css" href="common.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<style>
main {
padding: 16px;
}
section {
margin-top: 16px;
}
#lastScannedCodeValue {
font-family: monospace;
}
</style>
</head>
<body>
<main>
<header><h2>STRICH Vanilla JS Sample</h2></header>
<p>Enabled symbologies: <b>Code 128, QR</b>.</p>
<p id="lastScannedCode">Last scanned code: <span id="lastScannedCodeValue"></span></p>
<section>
<header><h3>Single Scan</h3></header>
<p>Scan a single barcode and return here.</p>
<a href="scan-single.html">Start Single</a>
</section>
<section>
<header><h3>Repeated Scans</h3></header>
<p>Repeatedly scan barcodes, pausing and resuming the scanner until done.</p>
<a href="scan-repeated.html">Start Repeated</a>
</section>
<section>
<header><h3>Multiple Scans</h3></header>
<p>Scan continuously until a number of distinct barcodes are scanned.</p>
<a href="scan-multiple.html">Start Multiple</a>
</section>
<section>
<header><h3>Popup Scanner</h3></header>
<p>Scan using the popup scanner's built-in UI.</p>
<a href="scan-popup.html">Start Popup</a>
</section>
</main>
<script type="module" src="index.js"></script>
</body>
</html>