Public Member Functions

nsIDOMEventListener Interface Reference

The nsIDOMEventListener interface is a callback interface for listening to events in the Document Object Model. More...

import "nsIDOMEventListener.idl";

Inheritance diagram for nsIDOMEventListener:

List of all members.

Public Member Functions

void handleEvent (in nsIDOMEvent event)
 This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Detailed Description

The nsIDOMEventListener interface is a callback interface for listening to events in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Events/

Status:
FROZEN

Member Function Documentation

void nsIDOMEventListener::handleEvent ( in nsIDOMEvent  event  ) 

This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Parameters:
evt The Event contains contextual information about the event. It also contains the stopPropagation and preventDefault methods which are used in determining the event's flow and default action.

The documentation for this interface was generated from the following file: