使用频率 | 中 |
所属模块 | Std.animation.keyframes |
成员类型 | 公有成员变量 |
var keyframes = new Std.animation.keyframes({
duration:1000,
rules:{
from:{
left:10
},
to:{
left:100
}
},
on:{
complete:function(){
console.log(this.elapsedTime);
}
}
});
keyframes.start();