update auto play option in the guide
This commit is contained in:
3
guide.md
3
guide.md
@@ -245,6 +245,7 @@ new rrwebPlayer({
|
|||||||
target: document.body, // customizable root element
|
target: document.body, // customizable root element
|
||||||
data: {
|
data: {
|
||||||
events,
|
events,
|
||||||
|
autoPlay: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
@@ -266,7 +267,7 @@ So rrweb expose a public API `on` which allow developers listen to the events an
|
|||||||
| skip-start | started to skip inactive time |
|
| skip-start | started to skip inactive time |
|
||||||
| skip-end | skipped inactive time |
|
| skip-end | skipped inactive time |
|
||||||
|
|
||||||
The rrweb-replayer also re-expose the event listener via a `component.addEventListener` API.
|
The rrweb-replayer also re-expose the event listener via a `component.addEventListener` API.
|
||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user