Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
reindernijhoff authored Mar 19, 2024
1 parent 573785e commit 74ffaa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ dittytoy.resume(); // resume playing

### Events

Dittytoy emits events you can listen to by subscribing to the `addEventListener` method.
Dittytoy emits events you can listen to by subscribing to the `addListener` method.

```ts
dittytoy.addListener(MSG_PLAY, () => {
Expand Down

0 comments on commit 74ffaa3

Please sign in to comment.