Created
September 7, 2016 08:20
-
-
Save arturkot/ba94ecf871a66b133ee6cc64b44e998a 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
import 'MorphSVGPlugin'; | |
import TimelineMax from 'gsap/src/uncompressed/TimelineMax'; | |
import { Power1 } from 'gsap/src/uncompressed/easing/EasePack'; | |
const elA = catEl.querySelector('.el-a'); | |
const elB = catEl.querySelector('.el-b'); | |
const tl = new TimelineMax() | |
.to(elA, 2, { morphSVG: elB, ease: Power1.easeInOut }); | |
export default tl; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment