Sponsor Lightning support.

This commit is contained in:
softsimon committed 2020-10-26 18:29:25 +07:00
1 parent b544af14e4
commit 99162f5ec9
7 files changed
+72 -14

No files matched your search

@@ -8,6 +8,7 @@ import * as QRCode from 'qrcode/build/qrcode.js';
})
export class QrcodeComponent implements AfterViewInit {
@Input() data: string;
@Input() size = 125;
@ViewChild('canvas') canvas: ElementRef;
qrcodeObject: any;
@@ -22,8 +23,8 @@ export class QrcodeComponent implements AfterViewInit {
dark: '#000',
light: '#fff'
},
width: 125,
height: 125,
width: this.size,
height: this.size,
};
if (!this.data) {