SHARE
TWEET

Untitled

a guest Jun 25th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. componentDidMount() {
  2.     this.myTween = new TimelineLite({paused:true})
  3.       .staggerFrom(this.myElement, 0.5, { alpha: 0, y: -10 },0.15)
  4.       .staggerTo(this.myElement,0.5,{ alpha: 1, y: 0, ease: Power3.easeOut },0.5)
  5.       .paused();
  6.  
  7.       // build scenes
  8.  
  9.     new ScrollMagic.Scene({triggerElement:".separator-home",offset:-100,reverse: false})
  10.         .addTo(this.controller);
  11.  
  12. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top