move.js
move.js copied to clipboard
add rotateX and rotateY api
Seems okay to me. Anyone else having thoughts?
move('.square')
.set('background-color', 'red')
.duration(1000)
.end(function(){
move('.square')
.set('background-color', 'blue')
.duration(1000)
.end();
});
The above writing method is changed to the following writing method. Now it has no effect. Can it be made effective?
move('.square')
.set('background-color', 'red')
.duration(1000)
.set('background-color', 'blue')
.duration(1000)
.end();