开发者

Stopping renderer in springy.js library

开发者 https://www.devze.com 2023-04-09 06:50 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消