Crates.io | yew-scanner |
lib.rs | yew-scanner |
version | 0.3.0 |
source | src |
created_at | 2022-07-15 08:27:10.684734 |
updated_at | 2023-11-21 08:48:06.660058 |
description | A QR-Code scanner to be used in a yew / wasm context |
homepage | |
repository | https://gitlab.com/voltfang-public/yew-scanner |
max_upload_size | |
id | 626088 |
size | 10,496 |
A simple qrcode scanner to be used in a yew context.
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 */ }) } />
Open Source using the MIT License