Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个像这样的圆形条:JsFiddle,我想添加一个像这样的限制条:圆形条
但我想要一个可以改变的限制栏,其值类似于 :"bar.animate(value);"用于蓝色栏。
"bar.animate(value);"
我怎样才能继续做这个?
提前致谢
检查animate()功能。文档没有指定这一点,所以我认为这个答案可能很有用。
animate()
在底部:
bar.animate(1.0); // Number from 0.0 to 1.0 or (88/100 => 0.88) for 88 %)