The goog.testing.events.Event Class

goog.testing.events.Event
> Event

goog.testing.events.Event(type, opt_target)

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.

type {string}
Event Type.
opt_target {Object=}
Reference to the object that is the target of this event.

.defaultPrevented

.preventDefault()

.propagationStopped_ {boolean}

Whether to cancel the event in internal capture/bubble processing for IE.

@suppress
{underscore} Technically public, but referencing this outside this package is strongly discouraged.

.returnValue_ {boolean}

Return value for in internal capture/bubble processing for IE.

@suppress
{underscore} Technically public, but referencing this outside this package is strongly discouraged.

.stopPropagation()