aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorsealice <[email protected]>2021-01-11 20:20:51 +0800
committersealice <[email protected]>2021-01-11 20:20:51 +0800
commitec9122bba89372f521da8c2ae4febb40ded3c570 (patch)
tree9dd4b2558e1fbc38419f297026a51f3d1d64a6ae /README.md
parent5f2ccef47bb1d8656433b529573212273b82bf83 (diff)
Fix the format and update the off API
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 08a21bf..9bc0436 100644
--- a/README.md
+++ b/README.md
@@ -132,6 +132,7 @@ Register an event handler for the given type.
### off
Remove an event handler for the given type.
+If omit the `handler`, all event handlers of the given type are deleted.
#### Parameters