@haxtheweb/barcode-reader v11.0.0
<barcode-reader>
Reader
Element to read barcodes and QR codes through a video stream
Usage
To use this web component in your project you can utilize one of the following styles of syntax.
/* In an existing JS module / web component */
import '@haxtheweb/barcode-reader/barcode-reader.js';
/* CDN */
<script type="module" src="https://cdn.hax.cloud/cdn/build/es6/node_modules/@haxtheweb/barcode-reader/barcode-reader.js"></script>
Usage after imported
barcode-reader will give controls to show/hide and start the scanner, but the submit button to utilize the data is left up to the website.
Component Specific Attributes
value
Value of the result.
scale
Scale of the video as a number, no percentage sign.
hideinput
Include value to hide the input tag and result. Shown by default.
Develop / Demo
Running npm start
will start a local development server and open your default browser to display it. It will start watching .js and lib/.js files for changes automatically for your demo.
$ npm start
Contributing
- Fork it!
git clone https://github.com/haxtheweb/webcomponents.git
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Reader
License
12 months ago
10 months ago
11 months ago
11 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 months ago
11 months ago
5 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago