11.0.0 • Published 5 months ago

@haxtheweb/barcode-reader v11.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

<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

  1. Fork it! git clone https://github.com/haxtheweb/webcomponents.git
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Reader

License

Apache-2.0 License

9.0.17

12 months ago

9.0.27

10 months ago

9.0.19

11 months ago

9.0.18

11 months ago

9.0.24

11 months ago

9.0.26

10 months ago

10.0.0

10 months ago

9.0.25

10 months ago

10.0.1

10 months ago

10.0.2

9 months ago

9.0.22

11 months ago

11.0.0

5 months ago

9.0.7

1 year ago

9.0.6

1 year ago

9.0.3

1 year ago

9.0.2

1 year ago

9.0.1

1 year ago

9.0.0

1 year ago

9.0.0-alpha.0

1 year ago