Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Is it possible to open the scanner in a modal? #237

Closed Answered by thegnuu
loicparent asked this question in Q&A
Discussion options

You must be logged in to vote

Please check out the ml-kit branch, the docs are minimal at the moment, but up2date at least. Basically, the only thing you need is BarcodeScanner.requestPermissions() and BarcodeScanner.start({}, (result) => {}). After this you just need to verify that all of your DOM elements are transparent and you should be good to go ;)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@thegnuu
Comment options

Answer selected by loicparent
@thegnuu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants