You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -126,7 +134,7 @@ Register an event handler for the given type.
126
134
127
135
#### Parameters
128
136
129
-
-`type`**([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\|[symbol](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol))** Type of event to listen for, or `"*"` for all events
137
+
-`type`**([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\|[symbol](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol))** Type of event to listen for, or `'*'` for all events
130
138
-`handler`**[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** Function to call in response to given event
131
139
132
140
### off
@@ -136,15 +144,15 @@ If omit the `handler`, all event handlers of the given type are deleted.
136
144
137
145
#### Parameters
138
146
139
-
-`type`**([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\|[symbol](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol))** Type of event to unregister `handler` from, or `"*"`
147
+
-`type`**([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)\|[symbol](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol))** Type of event to unregister `handler` from, or `'*'`
140
148
-`handler`**[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** Handler function to remove
141
149
142
150
### emit
143
151
144
152
Invoke all handlers for the given type.
145
-
If present, `"*"` handlers are invoked after type-matched handlers.
153
+
If present, `'*'` handlers are invoked after type-matched handlers.
146
154
147
-
Note: Manually firing "\*" handlers is not supported.
155
+
Note: Manually firing '\*' handlers is not supported.
0 commit comments