impl apis: play, pause, goto

This commit is contained in:
Yanzhen Yu
2020-09-08 15:09:06 +08:00
parent 4c0cbfaf6a
commit 5a1d8b30b0
3 changed files with 44 additions and 14 deletions

3
typings/index.d.ts vendored
View File

@@ -29,4 +29,7 @@ export default class rrwebPlayer {
toggle: () => void;
setSpeed: (speed: number) => void;
toggleSkipInactive: () => void;
play: () => void;
pause: () => void;
goto: (timeOffset: number) => void;
}