rrweb
Version:
record and replay the web
10 lines (9 loc) • 403 B
TypeScript
import type { Replayer } from '../';
import { CanvasContext, canvasMutationCommand } from '@rrweb/types';
export default function webglMutation({ mutation, target, type, imageMap, errorHandler, }: {
mutation: canvasMutationCommand;
target: HTMLCanvasElement;
type: CanvasContext;
imageMap: Replayer['imageMap'];
errorHandler: Replayer['warnCanvasMutationFailed'];
}): Promise<void>;