easing parameters

This commit is contained in:
Adam Bradley
2015-05-26 11:18:42 -05:00
parent c6b95e1759
commit 2b4f3311ac
2 changed files with 95 additions and 108 deletions

View File

@@ -20,7 +20,7 @@ class IonicApp {
this.animation
.duration(2000)
.easing('spring');
.easing('spring', { damping: 6, elasticity: 10 });
var ball = new Animation( document.querySelector('.ball') );