testing.events.Event
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.

Inheritance

Constructor

goog.testing.events.Event(typeopt_target)

Parameters

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

Instance Methods

Public Protected Private
preventDefault()
No description.
code »
stopPropagation()
No description.
code »

Instance Properties

button :
No description.
Code »
charCode :
No description.
Code »
ctrlKey :
No description.
Code »
currentTarget :
No description.
Code »
defaultPrevented :
No description.
Code »
keyCode :
No description.
Code »
propagationStopped_ :
Whether to cancel the event in internal capture/bubble processing for IE.
Code »
relatedTarget :
No description.
Code »
returnValue_ :
Return value for in internal capture/bubble processing for IE.
Code »
state :
No description.
Code »
target :
No description.
Code »
type :
No description.
Code »

Package testing.events

Package Reference