我正在使用 wow.js ( http://mynameismatthieu.com/WOW/docs.html )
wow = new WOW(
{
boxClass: 'wow', // default
animateClass: 'animated', // default
offset: 0, // default
mobile: true, // default
live: true // default
}
)
wow.init();
连同 ProgressBar.js ( http://kimmobrunfeldt.github.io/progressbar.js )
var circle = new ProgressBar.Circle('#skillitem1', {
color: '#49e2d6',
strokeWidth: 3,
trailWidth: 0,
duration: 1000,
text: {
value: '0'
},
step: function(state, bar) {
bar.setText((bar.value() * 100).toFixed(0));
}
});
但是,我试图找到一种方法,在 wow 的淡入效果完成后如何触发 ProgressBar.js 的动画。
有小费吗?