aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authortunnckoCore <[email protected]>2017-01-18 02:35:13 +0200
committertunnckoCore <[email protected]>2017-01-18 02:35:13 +0200
commitf4c60f4dd35fb875649c99b854bbb5c3aac72fdb (patch)
tree3c110825af6f4b361b4e171dc793e88e99b737a3 /README.md
parente814a573d827be5ebf9d3015ae606780d3f22eb3 (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.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/README.md b/README.md
index da9e627..9527ca5 100644
--- a/README.md
+++ b/README.md
@@ -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