-
-
Save ederchrono/d8998337b90448b54d9f88ab93e84815 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
// inside methods | |
stopDrag(e) { | |
let animationProps = this.createReleaseAnimation() | |
this.dragging = false | |
this.animating = true | |
TweenLite.to(this, 0.2, { | |
...animationProps, | |
onComplete: () => {this.animating = false} | |
}) | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment