DekGenius.com
Team LiB   Previous Section   Next Section
Window.releaseEvents( ) stop capturing events

Availability

Netscape 4

Synopsis

window.releaseEvents(eventmask) 
document.releaseEvents(eventmask) 
layer.releaseEvents(eventmask)

Arguments

eventmask

An integer that specifies the type of events that the window, document, or layer should stop capturing. This value should be one of the static event type constants defined by the Event class, or it should be a group of event type constants combined with the bitwise-OR (|) or addition operator.

Description

The releaseEvents( ) method of the Window, Document, and Layer objects performs the opposite action of the captureEvents( ) method of those classes. In the Netscape 4 event model, releaseEvents( ) specifies that the window, document, or layer should no longer capture events of the types specified by eventmask. See the "Event.TYPE" reference page for a list of the constants that can be used in the eventmask argument.

See Also

Event, Window.captureEvents( ), Window.handleEvent( ), Window.routeEvent( ); Chapter 19; EventTarget.removeEventListener( ) in the DOM reference section

    Team LiB   Previous Section   Next Section