search

goog.testing.events.Event

Provided By
Extends
  • Event
All Known Direct Subclasses

goog.events.BrowserEvent expects an Event so we provide one for JSCompiler.

This clones a lot of the functionality of goog.events.Event. This used to use a mixin, but the mixin results in confusing the two types when compiled.

new Event( type, opt_target )

Parameters
typestring

Event Type.

opt_target(Object|null)=

Reference to the object that is the target of this event.

Instance Methods

Instance Properties