resolve #13 add warning messages when target is not found

This commit is contained in:
Yanzhen Yu
2019-01-05 14:18:07 +08:00
parent 727009177b
commit 6973ce2c8d
4 changed files with 47 additions and 21 deletions

View File

@@ -134,12 +134,13 @@ replayer.play();
The replayer accepts options as its constructor's second parameter, and it has the following options:
| key | default | description |
| ------------ | ------------- | ------------------------------------- |
| speed | 1 | replay speed ratio |
| root | document.body | the root element of replayer |
| loadTimeout | 0 | timeout of loading remote style sheet |
| skipInactive | false | whether to skip inactive time |
| key | default | description |
| ------------ | ------------- | ----------------------------------------------- |
| speed | 1 | replay speed ratio |
| root | document.body | the root element of replayer |
| loadTimeout | 0 | timeout of loading remote style sheet |
| skipInactive | false | whether to skip inactive time |
| showWarning | true | whether to print warning messages during replay |
#### Use rrweb-player