Class: SimpleEvent

SimpleEventDispatcher.SimpleEvent(type, target)

Simplistic, yet effective implementation of SimpleEventIntf that also includes the standard DOM target and currentTarget properties. Both properties are set to the given target.

Constructor

new SimpleEvent(type, target)

Parameters:
Name Type Description
type string

Type of this event. No case conversion is performed in this constructor; type is used as-given.

target object

Target of this event.

Implements:
Source:

Members

currentTarget

Added for consistency with DOM event definition; same as SimpleEventDispatcher.SimpleEvent#target.

Source:

target

Target of this event.

Source:

type :string

The type of this event.

Type:
  • string
Implements:
Source: