Directory

← Back

QR Scanner

QR Scanner addon for Vaadin 14

Author

Rating

Popularity

100+

Vaadin 14 Java integration of @granite-elements/granite-qrcode-scanner

Sample code

QrScanner qrScanner = new QrScanner(event ->{
       System.out.println("consumer event value: " + event);
});
QrScanner qrScanner = new QrScanner();

qrScanner.setConsumer(event -> {
	if(!event.equalsIgnoreCase(QrScanner.ERROR_DECODING_QR_CODE))
		qrScanner.setActive(false);
	System.out.println("consumer event value: " + event);
});

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

stable change camera after init

Released
2020-07-21
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 14+
Browser
N/A

QR Scanner - Vaadin Add-on Directory

QR Scanner addon for Vaadin 14 QR Scanner - Vaadin Add-on Directory
Vaadin 14 Java integration of @granite-elements/granite-qrcode-scanner ![](https://github.com/MisoHampel/vaadin-14-qr-scanner/raw/master/demo.png)
Online