TOC PREV NEXT INDEX

Put your logo here!


window.releaseEvents()


Releases the window from trapping events of a specific type.

Syntax

window.releaseEvents(Event.eventType) 

Parameters

eventType is a string with one of the following values:

Abort 
Load 
Blur 
MouseDown 
Click 
MouseMove 
Change 
MouseOut 
DblClick 
MouseOver 
DragDrop 
MouseUp 
Error 
Move 
Focus 
Reset 
KeyDown 
Resize 
KeyPress 
Select 
KeyUp 
Submit 

Unload 

Example

window.releaseEvents(Event.KEYPRESS) 

Notes

Note that you can pass a list of events to this method using the following syntax: window.releaseEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP). Also note that the eventType parameter is case-insensitive, so you can also say, for example, window.releaseEvents(Event.KeyPress).

See also window.captureEvents().

Specification

DOM Level 0. Not part of specification. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX