Skip to content

Instantly share code, notes, and snippets.

@afshinm
Created November 30, 2012 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afshinm/4175439 to your computer and use it in GitHub Desktop.
Save afshinm/4175439 to your computer and use it in GitHub Desktop.
motionjs_example
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