Created
February 4, 2019 17:21
-
-
Save didacus/3b82ef7697ad65779ed41575db8b9533 to your computer and use it in GitHub Desktop.
Framer X - Chaining animations
This file contains hidden or 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
export const ScaledAwait: Override = () => { | |
return { | |
scale: data.scale, | |
onTap: async () => { | |
await animate.spring(data.scale, 0.5).finished | |
await animate.spring(data.scale, 1.5).finished | |
await animate.spring(data.scale, 0.5).finished | |
console.log('finished!') | |
}, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment