fx.AnimationEvent Extends goog.events.Event
Class for an animation event object.

Inheritance

Constructor

goog.fx.AnimationEvent(typeanim)

Parameters

type : string
Event type.
anim : goog.fx.Animation
An animation object.

Instance Methods

Public Protected Private
coordsAsInts() !Array.<number>
Returns the coordinates as integers (rounded to nearest integer).
Returns: !Array.<number>  An array of the coordinates rounded to the nearest integer.
code »
dispose()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
disposeInternal()
Events don't need to be disposed. For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
code »
preventDefault()
Prevents the default action, for example a link redirecting to a url.
code »
stopPropagation()
Stops event propagation.
code »

Instance Properties

The animation object.
Code »
constructor :
No description.
Code »
coords :
The current coordinates.
Code »
duration :
The current duration.
Code »
fps :
Frames per second so far.
Code »
progress :
The current progress.
Code »
state :
The state of the animation.
Code »
x :
The x coordinate.
Code »
y :
The y coordinate.
Code »
z :
The z coordinate.
Code »
currentTarget :
Object that had the listener attached.
Code »
defaultPrevented :
Whether the default action has been prevented. This is a property to match the W3C specification at http://www.w3.org/TR/DOM-Level-3-Events/ #events-event-type-defaultPrevented. Must be treated as read-only outside the class.
Code »
propagationStopped_ :
Whether to cancel the event in internal capture/bubble processing for IE.
Code »
returnValue_ :
Return value for in internal capture/bubble processing for IE.
Code »
target :
Target of the event.
Code »
type :
Event type.
Code »

Static Properties

goog.fx.AnimationEvent.superClass_ :
No description.
Code »

Package fx

Package Reference