From 4412da5bc469f0da7987b81f093e4f2033c7d307 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20T=C3=B6gl?= <toegl@tugraz.at> Date: Wed, 30 Sep 2020 16:42:00 +0200 Subject: [PATCH] Change attributes and default values --- packages/qr-code-scanner/src/qr-code-scanner.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/qr-code-scanner/src/qr-code-scanner.js b/packages/qr-code-scanner/src/qr-code-scanner.js index 9dd915c2..7af0131a 100644 --- a/packages/qr-code-scanner/src/qr-code-scanner.js +++ b/packages/qr-code-scanner/src/qr-code-scanner.js @@ -21,8 +21,8 @@ export class QrCodeScanner extends DBPLitElement { this.notSupported = false; this.front = false; - this.scanIsOk = true; - this.showOutput = true; + this.scanIsOk = false; + this.showOutput = false; } static get scopedElements() { @@ -42,8 +42,8 @@ export class QrCodeScanner extends DBPLitElement { videoRunning: { type: Boolean, attribute: false }, notSupported: { type: Boolean, attribute: false }, front: { type: Boolean, attribute: false }, - scanIsOk: { type: Boolean, attribute: true }, - showOutput: { type: Boolean, attribute: true } + scanIsOk: { type: Boolean, attribute: 'scan-is-ok' }, + showOutput: { type: Boolean, attribute: 'show-output' } }; } -- GitLab