testing.events.EventObserver Extends
Event observer. Implements a handleEvent interface so it may be used as a listener in listening functions and methods.

Inheritance

Constructor

goog.testing.events.EventObserver()

Instance Methods

Public Protected Private
getEvents(opt_type) !Array.<!goog.events.Event>
No description.
Arguments:
opt_type : string=
If given, only return events of this type.
Returns: !Array.<!goog.events.Event>  The events handled, oldest to newest.
code »
handleEvent(e)
Handles an event and remembers it. Event listening functions and methods will call this method when this observer is used as a listener.
Arguments:
e : !goog.events.Event
Event to handle.
code »

Instance Properties

events_ :
A list of events handled by the observer in order of handling, oldest to newest.
Code »

Package testing.events

Package Reference