EventTarget Methods

The EventTarget type exposes the following members.

Methods
  NameDescription
Public methodAddEventListener(String, IEventListener)
This method allows the registration of event listeners on the event target.
Public methodAddEventListener(String, DOMEventHandler, Boolean)
This method allows the registration of event listeners on the event target.
Public methodAddEventListener(String, IEventListener, Boolean)
This method allows the registration of event listeners on the event target.
Public methodDispatchEvent
This method allows the dispatch of events into the implementations event model.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPlatformType
This method is used to retrieve ECMAScript object Type.
(Inherited from DOMObject.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveEventListener(String, IEventListener)
This method allows the removal of event listeners from the event target. If an IEventListener is removed from an EventTarget while it is processing an event, it will not be triggered by the current actions. Event Listeners can never be invoked after being removed.
Public methodRemoveEventListener(String, DOMEventHandler, Boolean)
This method allows the removal of event listeners from the event target. If an IEventListener is removed from an EventTarget while it is processing an event, it will not be triggered by the current actions. Event Listeners can never be invoked after being removed.
Public methodRemoveEventListener(String, IEventListener, Boolean)
This method allows the removal of event listeners from the event target. If an IEventListener is removed from an EventTarget while it is processing an event, it will not be triggered by the current actions. Event Listeners can never be invoked after being removed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also