Created
April 18, 2017 01:37
-
-
Save bfgeek/7710d6283675c4494b92e7e28bc7f6c9 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
new Animation(new ScriptEffect('spring', { | |
'expand': [elem1], | |
'shrink': [elem2], | |
}, [ | |
document.timeline, | |
new ScrollTimeline(scrollElem), | |
])).play(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment