http://www.w3.org/wiki/DOM/domcore/EventTarget
DOM/domcore/EventTarget
EventTarget
The EventTarget interface must be implemented by all the objects which could be event targets in an implementation which supports an event flow. The interface allows registration and removal of event listeners, and dispatch of events to an event target.
Methods
| Name | Description |
|---|---|
addEventListener(type, listener, capture) | Registers an event listener. |
removeEventListener(type, listener, capture) | Removes an event listener. |
dispatchEvent(event) | Dispatches an event into the implementation's event model. |
2001

被折叠的 条评论
为什么被折叠?



