fuelIEvents
| IID: | 3a8ec9d0-ab19-11db-abbd-0800200c9a66 |
| Inherits From: | nsISupports |
Methods
void addListener ( AString event , fuelIEventListener listener )
void removeListener ( AString event , fuelIEventListener listener )
void addListener ( AString event , fuelIEventListener listener )
Adds an event listener to the list. If multiple identical event listeners are registered on the same event target with the same parameters the duplicate instances are discarded. They do not cause the EventListener to be called twice and since they are discarded they do not need to be removed with the removeListener method.
- Arguments:
- event: The name of an event
- listener: The reference to a listener
void removeListener ( AString event , fuelIEventListener listener )
Removes an event listener from the list. Calling remove with arguments which do not identify any currently registered event listener has no effect.
- Arguments:
- event: The name of an event
- listener: The reference to a listener
References
This interface is the type of the following properties:
fuelIApplication.events, fuelIBookmark.events, fuelIBookmarkFolder.events, fuelIBrowserTab.events, fuelIExtension.events, fuelIPreference.events, fuelIPreferenceBranch.events, fuelISessionStorage.events, fuelIWindow.events
Reference documentation is generated from Mozilla's source.
