feedlet-widget
Version:
Lightweight JavaScript widget for capturing user feedback and exit-intent surveys
10 lines (8 loc) • 350 B
TypeScript
import { ScreenshotOptions } from './types';
export declare class ScreenshotCapture {
private defaultOptions;
capture(options?: ScreenshotOptions): Promise<Blob>;
captureElement(element: HTMLElement, options?: ScreenshotOptions): Promise<Blob>;
isSupported(): boolean;
getDataUrl(options?: ScreenshotOptions): Promise<string>;
}