Comments (1)
Both of them return the result.
onResult: Scan event handler for result object.
onDecode: Scan event handler for decode value.
The difference is that onDecode will return the QrCode value as a text and onResult will return more data.
from react-qr-scanner.
Related Issues (20)
- Allow versions < React 18 as peer dependency HOT 5
- Permissions on Safari are asked everytime HOT 1
- It is not possible to open the camera on an Asus notebook, cannot find its information HOT 4
- Camera Zoom HOT 3
- onError not supported anymore? HOT 7
- Possibility for video to go full height HOT 4
- About zoom component for IOS 16 HOT 2
- Web assembly directive is blocked in our server content security policy. Thus we are not able to use the package HOT 3
- About cameras not load at first in Android HOT 1
- ENOENT errors for package dependencies HOT 5
- Camera blank when I request the permission for the first time. HOT 1
- I'm getting a blank rectangle in iOS! HOT 1
- Feature: Allow upload and detect QR code from files ( PDF or Images )
- Bug: Firefox not supported by new version HOT 1
- Is there any state available which let's me know if Scanner is initialised?
- List of cameras doesn't work when permission is set to "Ask" HOT 1
- Scanner window on initial display incorrect size HOT 2
- Typing error: onError is now required instead of optional HOT 2
- Error when changing site with no permission
- Styling issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-qr-scanner.