Best approach to "kill/clear" instance. #650
Unanswered
antoniomldev
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys, i am new in the programming world but i'd like to ask something for yours.
I am create my own qr code/barcode reader and i am implementing the HTML5QrCode without the own UI from the lib, i created my own UI, so, in my interface the users can click on "start" and the câmera will start to read the barcode, i have an button called "stop" and in this button i'd like to have an flow that "kill" or "stop" the camera capture, but i don't find this method on lib.
I tried: stop() and clear()
but don't work how i want
clear() looks great but for me just clear the canvas in html.
I miss something or what i can do to do it? Thanks for every guys!
Beta Was this translation helpful? Give feedback.
All reactions