UNPKG

ngx-qrcode-styling

Version:

This library is built for the purpose for generating QR codes with a logo and styling.

31 lines (30 loc) 1.11 kB
import { AsyncSubject } from 'rxjs'; import { Options } from './ngx-qrcode-styling.options'; import * as i0 from "@angular/core"; export declare class NgxQrcodeStylingService { /** * create * @param config * @param container * @returns */ create(config: Options, container: HTMLElement | HTMLVideoElement | HTMLCanvasElement | SVGElement | any): AsyncSubject<any>; /** * update * @param config * @param configUpdate * @param container * @returns */ update(config: Options, configUpdate: Options, container: HTMLElement | HTMLVideoElement | HTMLCanvasElement | SVGElement | any): AsyncSubject<any>; /** * download image * @param fileName eg: demo.png * @param container * @param timeout * @returns */ download(container: HTMLElement | HTMLVideoElement | HTMLCanvasElement | SVGElement | any, fileName?: string, timeout?: number): AsyncSubject<any>; static ɵfac: i0.ɵɵFactoryDeclaration<NgxQrcodeStylingService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NgxQrcodeStylingService>; }