UNPKG

ngx-capture

Version:

Screen capture library for Angular

15 lines (14 loc) 522 B
import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export interface CropDimensions { x: number; y: number; width: number; height: number; } export declare class NgxCaptureService { getImage(screen: HTMLElement, fullCapture?: boolean, cropDimensions?: CropDimensions): Observable<string>; downloadImage(img: string): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgxCaptureService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NgxCaptureService>; }