Help Center

Local Navigation

Object: EventListener


BlackBerry® Device Software version 4.6 or later

The EventListener object represents an event listener, which is used to listen for and handle events as they occur. EventListener objects are registered on an EventTarget, the node(s) within the DOM that may be impacted by an event. Events may be registered against Node, Window, or XMLHttpRequest. A listener should be removed from the target after it has been used.

EventListener methods

Method name




Called whenever an event occurs the EventListener object was registered to listen for.

DOM Level 2 Events

4.6 or later

Previous topic: Event methods

Was this information helpful? Send us your comments.