by pass all options to rrweb

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent fa31bb6139
commit 25432a1ef1
2 changed files with 2 additions and 20 deletions

8
typings/index.d.ts vendored
View File

@@ -9,17 +9,11 @@ export default class rrwebPlayer extends SvelteComponent {
events: eventWithTime[];
width?: number;
height?: number;
skipInactive?: boolean;
autoPlay?: boolean;
speedOption?: number[];
showController?: boolean;
showWarning?: boolean;
showDebug?: boolean;
tags?: Record<string, string>;
mouseTail?: playerConfig['mouseTail'];
UNSAFE_replayCanvas?: boolean;
insertStyleRules?: string[];
};
} & playerConfig;
});
addEventListener(event: string, handler: (params: any) => unknown): void;