Created
November 30, 2012 12:13
-
-
Save afshinm/4175439 to your computer and use it in GitHub Desktop.
motionjs_example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
motionjs.transition([{ | |
select: "#hello_world", | |
duration: '4s', | |
style: { | |
top: '200px', | |
opacity: 1 | |
}, | |
end: function (event) { | |
alert("End of transition."); | |
} | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment