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:
-
thenFunctionWhat to do after all animations are done
-
intervalNumberInterval between animations
AnimationChainController.execute
-
then -
interval
Executes a destructive navigation/execution on all registered animations in this chain
Parameters:
-
thenFunctionWhat to do after all animations are done
-
intervalNumberInterval between animations
AnimationChainController.execute
-
what
Executes a given delegate whenever possible
Parameters:
-
whatFunctionThe delegate whe want to execute
AnimationChainController.register
-
animation
Registers a given animation object to be called
Parameters:
-
animationraska.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