by pass all options to rrweb

This commit is contained in:
Yanzhen Yu
2020-10-01 14:17:46 +08:00
parent 9bdf9692db
commit 1277dbd1df
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;