Canvas Library
 

stop Library Method

Short Description: Stops the current animation

Signature: taccgl.stop ()
Class: taccgl Class
 

Immediately stops the current animation. This function is often used if a new animation should be started in response to a user interaction, while a previous animation is still running.

stop will set the visibility of all HTML elements in the same way as it would have occurred on a normal termination of the animation. Instead of the handler however the handler is called.

If no animation is running when stop is called, stop just deletes all transitions defined so far.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccgl.ShowTexCanvas - Shows a texture canvas
Previous Page: taccgl.restart - Restarts the current animation from the beginning
Please Add a Comment or Question, click here!