angularx-qrcode
Version:
Ionic 3/4 and Angular4/5/6/7/8+ QRCode module generator using qrcodejs
20 lines (19 loc) • 606 B
TypeScript
import { AfterViewInit, ElementRef, OnChanges, SimpleChange } from '@angular/core';
export declare class QRCodeComponent implements OnChanges, AfterViewInit {
el: ElementRef;
private readonly platformId;
colordark: string;
colorlight: string;
level: string;
hidetitle: boolean;
qrdata: string;
size: number;
usesvg: boolean;
qrcode: any;
constructor(el: ElementRef, platformId: any);
ngAfterViewInit(): void;
ngOnChanges(changes: {
[propertyName: string]: SimpleChange;
}): void;
protected isValidQrCodeText: (data: string) => boolean;
}