Skip to content

Conversation

@jaylinski
Copy link
Contributor

@jaylinski jaylinski commented Jun 3, 2020

Description

Exposes the all property. (Although I would prefer calling it listeners.)

This makes it possible to clear all events by executing mittInstance.all.clear().

Is a (lightweight) alternative to #104.

Relates to

#70 #72 #102

@jaylinski jaylinski mentioned this pull request Jun 3, 2020
@jaylinski
Copy link
Contributor Author

Error: compressed-size-action was unable to comment on your PR.
This can happen for PR's originating from a fork without write permissions.
You can copy the size table directly into a comment using the markdown below:

Size Change: +11 B (1%)

Total Size: 941 B

Filename Size Change
dist/mitt.es.js 216 B +3 B (1%)
dist/mitt.js 215 B +2 B (0%)
dist/mitt.modern.js 215 B +3 B (1%)
dist/mitt.umd.js 295 B +3 B (1%)

@developit developit merged commit 0f41ead into developit:master Jul 15, 2020
@jaylinski jaylinski deleted the expose-all branch July 15, 2020 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants