Class: IE8EventHandler

(private) IE8Compatibility.IE8EventHandler(target, type, listener, handlerFunction)

Container object representing a registered EventListener. Holds the information necessary to identify a particular event listener given a target (target, type, and listener), as well as the closure-based handlerFunction, such that the actual registered listener can be detached when it is no longer needed.

Constructor

(private) new IE8EventHandler(target, type, listener, handlerFunction)

Parameters:
Name Type Description
target EventTarget

EventTarget to which the given listener is registered.

type string

Event type for which the given listener is registered.

listener EventListener

EventListener registered on target for the given event type.

handlerFunction function

Closure-based handler function that is actually attached to target.

Source:

Extends

Members

handlerFunction :function

Type:
  • function
Source:

listener :EventListener

EventListener registered on IE8Compatibility.IE8EventHandler#target for events of type IE8Compatibility.IE8EventHandler#type.

Type:
  • EventListener
Source:

target :EventTarget

EventTarget to which IE8Compatibility.IE8EventHandler#listener is registered.

Type:
  • EventTarget
Source:

type :string

Event type for which IE8Compatibility.IE8EventHandler#listener is registered.

Type:
  • string
Source:

Methods

dispose()

Optional function to dispose this object. The object should not be relied upon to be usable after calling this function, however whether it actually is, or not, is entirely implementation-dependent.

Overrides:
Source:

init()

Optional function to initialize this object for use. The object should be usable after calling this function.

Inherited From:
Source: