diff options
| author | tunnckoCore <[email protected]> | 2017-01-18 02:35:13 +0200 |
|---|---|---|
| committer | tunnckoCore <[email protected]> | 2017-01-18 02:35:13 +0200 |
| commit | f4c60f4dd35fb875649c99b854bbb5c3aac72fdb (patch) | |
| tree | 3c110825af6f4b361b4e171dc793e88e99b737a3 /README.md | |
| parent | e814a573d827be5ebf9d3015ae606780d3f22eb3 (diff) | |
remove "drop support for emitting multiple args" thing as per https://github.com/developit/mitt/pull/19#issuecomment-273344689
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -68,8 +68,7 @@ If present, `"*"` handlers are invoked prior to type-matched handlers. **Parameters** - `type` **[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** The event type to invoke -- `arg1` **\[Any]** A value (first argument), passed to each handler -- `arg2` **\[Any]** A value (second argument), passed to each handler +- `evt` **\[Any]** Any value (object is recommended and powerful), passed to each handler Returns **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** the `mitt` instance for chaining |
