Stopping renderer in springy.js library
Is there anyone has used springy.js library?
I would like to ask afte开发者_运维技巧r I started a renderer by renderer.start();
, how to stop it? Seems there is only start()
function defined for the renderer object but there is no stop()
function...
There is a settimeout()
function in the library, you just need to create a stop function, which is used to kill the settimeout()
function with the given id.
精彩评论