Class type Goog.​Fx.​animation

class type animation = object..end

Inherits


method cycle : float -> unit Js.meth

Handles the actual iteration of the animation in a timeout

method disposeInternal : unit Js.meth

Disposes of the animation. Stops an animation, fires a 'destroy' event and then removes all the event handlers to clean up memory.

method pause : unit Js.meth

Pauses the animation (iff it's playing).

method play : bool Js.t Js.opt -> bool Js.t Js.meth

Starts or resumes an animation. Returns Whether animation was started.

method stop : bool Js.t -> unit Js.meth

Stops the animation.