Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lisez committed May 25, 2024
1 parent e6f79fe commit 0cd2095
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ for (let i = 0; i < 5; i++) {
// [1, 2, 1, 2, 1, 2, 1, 2, 1, 2]
```

### Debug mode

```typescript
const emitter = new Xevt();
emitter.debug = true;
```

Then you can see the debug information in the console.

## Similar projects

- [mitt](https://github.com/developit/mitt)
Expand Down

0 comments on commit 0cd2095

Please sign in to comment.