goog.fx.AnimationEvent
Classgoog.fx.AnimationEvent
> goog.events.Event
goog.fx.AnimationEvent(type, anim)
Class for an animation event object.
type
{string
}
anim
{goog.fx.Animation
}
.anim
{goog.fx.Animation
}The animation object.
.coords
{Array
.<number
>}The current coordinates.
.coordsAsInts()
Returns the coordinates as integers (rounded to nearest integer).
Array
.<number
>}
.defaultPrevented
{boolean
}Inherited from goog.events.Event
.
Whether the default action has been prevented. This is a property to match the W3C specification at {@link http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-defaultPrevented}. Must be treated as read-only outside the class.
.dispose()
[deprecated]Deprecated. Events don't need to be disposed.
Inherited from goog.events.Event
.
For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
.disposeInternal()
[deprecated]Deprecated. Events don't need to be disposed.
Inherited from goog.events.Event
.
For backwards compatibility (goog.events.Event used to inherit goog.Disposable).
.duration
{number
}The current duration.
.fps
Frames per second so far.
.preventDefault()
Inherited from goog.events.Event
.
Prevents the default action, for example a link redirecting to a url.
.progress
{number
}The current progress.
.propagationStopped_
{boolean
}Inherited from goog.events.Event
.
Whether to cancel the event in internal capture/bubble processing for IE.
.returnValue_
{boolean
}Inherited from goog.events.Event
.
Return value for in internal capture/bubble processing for IE.
.state
{number
}The state of the animation.
.stopPropagation()
Inherited from goog.events.Event
.
Stops event propagation.
.x
{number
}The x coordinate.
.y
{number
}The y coordinate.
.z
{number
}The z coordinate.