Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion #18

Open
dasisyouyu opened this issue Oct 7, 2018 · 5 comments
Open

Suggestion #18

dasisyouyu opened this issue Oct 7, 2018 · 5 comments

Comments

@dasisyouyu
Copy link

I think that many people will be saved if there is also a sample of the part that obtains the barcode.

@noomerzx
Copy link
Owner

noomerzx commented Feb 7, 2019

@dasisyouyu Not clearly understood. Can you give me an example.

@seybsen
Copy link

seybsen commented Aug 8, 2019

I'm also struggling with the integration of your library. I'm using vue-quagga (https://github.com/sin-tanaka/vue-quagga) and get the code in its callback (onDetected). But I don't know how to throttle the results with your library. Am I supposed to write the scanned codes to an (hidden) input field?!

An usage example would be really helpful :)

@dasisyouyu
Copy link
Author

@noomerzx The ideal is a real-time sample like https://codesandbox.io.

@noomerzx
Copy link
Owner

noomerzx commented Nov 23, 2019

@dasisyouyu
For native listener it's work like that (callback are trigger for each incoming input), So this lib try to catch all input before fired a callback to easier process after input finished.

@noomerzx
Copy link
Owner

@seybsen

You can use this lib with or without input element. See readme in init with option.
Btw thx for feedback I'll update readme to separate option to be individual section then will have some code example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants