Event methods
To react to user behavior, we need to register our handlers using these event methods. Note that many DOM events only apply to certain element types; these subtleties are not covered here. Event methods are discussed in detail in Chapter 3, Handling Events.
Binding
Event method | Description |
---|---|
| Binds |
| Binds |
| Binds multiple handlers for events as specified in the |
| Removes bindings on the element. |
| Binds |
Shorthand binding
Event method | Description |
---|---|
| Binds |
|