SHARE
TWEET

Untitled

a guest Jun 25th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. constructor(props) {
  2.     super(props);
  3.     this.state = {
  4.       isLoaded: this.props.isLoaded,
  5.       menuMobile: true
  6.     };
  7.     // reference to the DOM node
  8.     this.home = null;
  9.     // reference to the animation
  10.     this.tl = new TimelineLite({ paused: true });
  11.  
  12.     this.scrollToTop = this.scrollToTop.bind(this);
  13.     this.openMenuMobile = this.openMenuMobile.bind(this);
  14.     this.closeMenuMobile = this.closeMenuMobile.bind(this);
  15.   }
  16.      
  17. <li ref={ li => this.home = li }>
  18.                   <NavLink to={"/"} activeClassName="active" className="a-item">
  19.                     <span>home</span>
  20.                   </NavLink>
  21.                 </li>
  22.      
  23. Error: Cannot tween a null target.
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
 
Top