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
@@ -135,15 +143,15 @@ Remove an event handler for the given type.
135
143
136
144
#### Parameters
137
145
138
-
-`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 `"*"`
146
+
-`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 `'*'`
139
147
-`handler`**[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** Handler function to remove
140
148
141
149
### emit
142
150
143
151
Invoke all handlers for the given type.
144
-
If present, `"*"` handlers are invoked after type-matched handlers.
152
+
If present, `'*'` handlers are invoked after type-matched handlers.
145
153
146
-
Note: Manually firing "\*" handlers is not supported.
154
+
Note: Manually firing '\*' handlers is not supported.
0 commit comments