Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIDOMNSEventTarget Interface Reference

The nsIDOMNSEventTarget interface is an extension to the standard nsIDOMEventTarget interface, implemented by all event targets in the Document Object Model. More...

import "nsIDOMNSEventTarget.idl";

Inheritance diagram for nsIDOMNSEventTarget:
Inheritance graph
[legend]
Collaboration diagram for nsIDOMNSEventTarget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addEventListener (in DOMString type, in nsIDOMEventListener listener, in boolean useCapture, in boolean wantsUntrusted)
 This method is the same as the addEventListener() method defined in nsIDOMEventTarget, but it takes one additional argument which lets callers control whether or not they want to receive untrusted events (synthetic events generated by untrusted code)

Detailed Description

The nsIDOMNSEventTarget interface is an extension to the standard nsIDOMEventTarget interface, implemented by all event targets in the Document Object Model.

Definition at line 48 of file nsIDOMNSEventTarget.idl.


Member Function Documentation

void nsIDOMNSEventTarget::addEventListener ( in DOMString  type,
in nsIDOMEventListener  listener,
in boolean  useCapture,
in boolean  wantsUntrusted 
)

This method is the same as the addEventListener() method defined in nsIDOMEventTarget, but it takes one additional argument which lets callers control whether or not they want to receive untrusted events (synthetic events generated by untrusted code)

Parameters:
typeSee the type argument to the same method in nsIDOMEventTarget.
listenerSee the listener argument to the same method in nsIDOMEventTarget.
useCaptureSee the listener argument to the same method in nsIDOMEventTarget.
wantsUntrustedIf false, the listener will not receive any untrusted events (see above), if true, the listener will receive events whether or not they're trusted

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