DOM:window.releaseEvents
From MDC
Contents |
[edit] Summary
Obsolete
Releases the window from trapping events of a specific type.
[edit] Syntax
window.releaseEvents(eventType)
eventType is a combination of the following values: Event.ABORT, Event.BLUR, Event.CLICK, Event.CHANGE, Event.DBLCLICK, Event.DRAGDDROP, Event.ERROR, Event.FOCUS, Event.KEYDOWN, Event.KEYPRESS, Event.KEYUP, Event.LOAD, Event.MOUSEDOWN, Event.MOUSEMOVE, Event.MOUSEOUT, Event.MOUSEOVER, Event.MOUSEUP, Event.MOVE, Event.RESET, Event.RESIZE, Event.SELECT, Event.SUBMIT, Event.UNLOAD.
[edit] Example
window.releaseEvents(Event.KEYPRESS)
[edit] Notes
This method is obsolete as of Gecko 1.9, in favor of W3C DOM Events methods (see addEventListener). The support for this method has been removed from Gecko 1.9.
Note that you can pass a list of events to this method using the following syntax: window.releaseEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP).
See also window.captureEvents (Obsolete).
[edit] Specification
DOM Level 0. Not part of any standard.