Public Member Functions | Public Attributes

nsIEventListenerInfo Interface Reference

An instance of this interface describes how an event listener was added to an event target. More...

import "nsIEventListenerService.idl";

List of all members.

Public Member Functions

AString toSource ()
 Tries to serialize event listener to a string.
nsISupports getDebugObject ()
 If jsdIDebuggerService is active and the listener is implemented in JS, this returns the listener as a jsdIValue.

Public Attributes

readonly attribute AString type
 The type of the event for which the listener was added.
readonly attribute boolean capturing
readonly attribute boolean allowsUntrusted
readonly attribute boolean inSystemEventGroup

Detailed Description

An instance of this interface describes how an event listener was added to an event target.


Member Function Documentation

nsISupports nsIEventListenerInfo::getDebugObject (  ) 

If jsdIDebuggerService is active and the listener is implemented in JS, this returns the listener as a jsdIValue.

Otherwise null.

AString nsIEventListenerInfo::toSource (  ) 

Tries to serialize event listener to a string.

Returns null if serialization isn't possible (for example with C++ listeners).


Member Data Documentation

readonly attribute AString nsIEventListenerInfo::type

The type of the event for which the listener was added.


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