Created
June 30, 2014 21:09
-
-
Save techhahn/73cb26187929e1a3f51b to your computer and use it in GitHub Desktop.
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
myApp.animation('.repeated-items', function() { | |
return { | |
enter: function(element, done) { | |
element.velocity("transition.slideUpIn", {stagger: 100, complete: done}); | |
}, | |
leave: function(element, done) { | |
element.velocity("transition.shrinkOut", {stagger: 100, complete: done}); | |
}, | |
move: function(element, done) { | |
element.velocity("transition.slideUpIn", {stagger: 100, complete: done}); | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment