Test.EventTarget Class
Simple custom event implementation.
Item Index
Methods
- attach
- detach
- fire
- subscribe deprecated
- unsubscribe deprecated
Properties
- _handlers static
Methods
attach
(
Void
-
type
-
listener
Adds a listener for a given event type.
Parameters:
Returns:
Void:
detach
(
Void
-
type
-
listener
Removes a listener for a given event type.
Parameters:
Returns:
Void:
fire
(
Void
-
event
Fires an event based on the passed-in object.
Parameters:
Returns:
Void:
subscribe
(
Void
deprecated
-
type
-
listener
Adds a listener for a given event type.
Parameters:
Returns:
Void: