vue-barcode-reader
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "vue-barcode-reader", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Vue barcodes and QR codes scanner", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
# Vue Barcode and QR code scanner | ||
> ⚠️ Hello everyone! My name is Dmytro and I am from 🇺🇦 Ukraine. People in Ukraine **ARE DYING RIGHT NOW** because of 🇷🇺 Russia Agression! Please help Ukraine. Donate if you can to: [UKRAINE’S DEFENDERS](https://war.ukraine.ua/donate/), [CHARITABLE FOUNDATION "COME BACK ALIVE"](https://savelife.in.ua/en/donate/). Help to stop Russian aggression 🙏! #StandWithUkraine | ||
> [🇺🇦 IT Army of Ukraine](https://t.me/itarmyofukraine2022) | ||
[![npm version](https://badgen.net/npm/v/vue-barcode-reader)](https://www.npmjs.com/package/vue-barcode-reader) [![sponsored_by](https://badgen.net/badge/sponsored%20by/%F0%9F%A4%96Easy-Peasy.AI/f2a)](https://Easy-Peasy.AI/?utm_source=npm&utm_medium=badge&utm_campaign=vue_barcode_reader) | ||
@@ -86,1 +85,17 @@ A Vue.js set of components to scan (or upload images) barcodes and QR codes. | ||
``` | ||
## Events | ||
The library emits the following events: | ||
### loaded | ||
When the libraty is loaded and the camera is ready to scan | ||
### decode | ||
When a barcode or QR code is scanned. The result is passed as a parameter to the event handler. The result is the text encoded in the barcode or QR code. | ||
### result | ||
When a barcode or QR code is scanned. The result is passed as a parameter to the event handler. The result is the object with the following properties: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
101
7016