Skip to content

Commit

Permalink
update auto play option in the guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuyz0112 committed Jan 25, 2019
1 parent 3ce4c76 commit d602469
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ new rrwebPlayer({
target: document.body, // customizable root element
data: {
events,
autoPlay: true,
},
});
```
Expand All @@ -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-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

Expand Down

0 comments on commit d602469

Please sign in to comment.