js-web-screen-shot
Version:
web端自定义截屏插件(原生JS版)
4 lines (3 loc) • 329 B
TypeScript
import { ScreenShotRenderStrategy } from "../../../lib/type/application/ScreenShotPlan";
export declare const startCapture: (cancelCallback: Function | undefined, renderStrategy: ScreenShotRenderStrategy, screenShotImageController: HTMLCanvasElement) => Promise<MediaStream | null>;
export declare const stopCapture: () => void;