goog.fx.AnimationEvent
Provided By | |
---|---|
Extends |
Class for an animation event object.
new AnimationEvent( type, anim )
Parameters |
|
---|
Instance Methods
this.hasPropagationStopped() → boolean
boolean
Defined by | |||
---|---|---|---|
Parameters | None. | ||
Returns |
|
this.preventDefault() → void
void
Prevents the default action, for example a link redirecting to a url.
this.stopPropagation() → void
void
Stops event propagation.
Instance Properties
this.anim → (goog.fx.Animation|null)
(goog.fx.Animation|null)
The animation object.
The current coordinates.
this.currentTarget → (Object|null|undefined)
(Object|null|undefined)
Object that had the listener attached.
this.defaultPrevented → boolean
boolean
Whether the default action has been prevented.
This is a property to match the W3C specification at
#events-event-type-defaultPrevented
.
Must be treated as read-only outside the class.
this.duration → number
number
The current duration.
this.fps → number
number
Frames per second so far.
this.progress → number
number
The current progress.
this.row → ?
?
No information.
this.rowNode → (Element|null|undefined)
(Element|null|undefined)
No information.
this.state → number
number
The state of the animation.
this.target → (Object|null|undefined)
(Object|null|undefined)
TODO(tbreisacher): The type should probably be EventTarget|goog.events.EventTarget.
Target of the event.
this.type → string
string
Event type.
this.x → number
number
The x coordinate.
this.y → number
number
The y coordinate.
this.z → number
number
The z coordinate.