add skip inactive switch and use rrweb timer to display current time

This commit is contained in:
Yanzhen Yu
2018-12-27 13:10:03 +08:00
parent d8b8d2d531
commit e5cb062995
5 changed files with 123 additions and 15 deletions

View File

@@ -46,6 +46,7 @@
const replayer = new Replayer(events, {
speed: 1,
root: this.refs.frame,
skipInactive: true,
});
replayer.on('resize', (dimension) =>
this.updateScale(replayer.wrapper, dimension)