AnimationChainController
Controller for the animation routines
Table of Contents
-
Static Methods
- AnimationChainController._looper()
- AnimationChainController.animate()
- AnimationChainController.execute(theninterval)
- AnimationChainController.execute(theninterval)
- AnimationChainController.execute(what)
- AnimationChainController.register(animation)
- AnimationChainController.resetElement()
- AnimationChainController.restoreFromSavedState()
- AnimationChainController.saveStates()
- AnimationChainController.stop()
- AnimationChainController.stop()
Constructor
AnimationChainController
()
Static Methods
AnimationChainController._looper
()
Controls the execution of the animation loop
AnimationChainController.animate
()
Handles the periodic draw of the elements in this Raska instance
AnimationChainController.execute
-
then
-
interval
Executes all current animations in loop
Parameters:
-
then
FunctionWhat to do after all animations are done
-
interval
NumberInterval between animations
AnimationChainController.execute
-
then
-
interval
Executes a destructive navigation/execution on all registered animations in this chain
Parameters:
-
then
FunctionWhat to do after all animations are done
-
interval
NumberInterval between animations
AnimationChainController.execute
-
what
Executes a given delegate whenever possible
Parameters:
-
what
FunctionThe delegate whe want to execute
AnimationChainController.register
-
animation
Registers a given animation object to be called
Parameters:
-
animation
raska.baseAnimationAnimation spec instance
AnimationChainController.resetElement
()
Resets changed element attributes to the default value
AnimationChainController.restoreFromSavedState
()
Restores the animations from its initial saved state
AnimationChainController.saveStates
()
Saves the initial states for all animations handled by this chain
AnimationChainController.stop
()
Stops the current animation
AnimationChainController.stop
()
Clears all saved states from the chain