UNPKG

ngx-angular-qrcode

Version:

This library allow you to create beautiful QR Codes in Angular application.

50 lines (49 loc) 1.61 kB
import { AfterContentInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core'; import { ShapeType } from 'qr-code-styling'; export declare class NgxAngularQrcodeComponent implements OnChanges, AfterContentInit { qrCodeCanvas: ElementRef; qrData: string; imageUrl: string; shape: string | ShapeType; width: number; height: number; margin: number; dotsType: string; dotsGradient: boolean; dotsGradientType: string; dotsGradientRotation: number; dotsColor: string; dotsStartColor: string; dotsEndColor: string; cornerSquareType: string; cornerSquareGradient: boolean; cornerSquareGradientType: string; cornerSquareGradientRotation: number; cornerSquareColor: string; cornerSquareStartColor: string; cornerSquareEndColor: string; cornerDotType: string; cornerDotGradient: boolean; cornerDotGradientType: string; cornerDotGradientRotation: number; cornerDotColor: string; cornerDotStartColor: string; cornerDotEndColor: string; backgroundType: string; backgroundGradient: boolean; backgroundGradientType: string; backgroundGradientRotation: number; backgroundColor: string; backgroundStartColor: string; backgroundEndColor: string; imageSize: number; imageMargin: number; hideImageBackgroundDots: boolean; errorCorrectionLevel: string; private qrCodeStyle; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterContentInit(): void; displayQr(): void; download(fileExtension: string, qrName?: string): void; }