#yew #qrcode #scanner #bardecoder

yew-scanner

A QR-Code scanner to be used in a yew / wasm context

3 unstable releases

0.2.0 Jan 11, 2023
0.1.1 Aug 1, 2022
0.1.0 Jul 15, 2022

#804 in WebAssembly

24 downloads per month

Custom license

9KB
150 lines

yew-scanner

A simple qrcode scanner to be used in a yew context.

Getting started

Just add this to your project

[dependencies]
yew = "0.19"
yew-scanner = "0.1"

And put this somewhere into your yew-html macro

    <Scanner onscan={ ctx.link().callback(|s: String| { /* your event handler goes here */ }) } />

License

Open Source using the MIT License

Dependencies

~31MB
~456K SLoC