Sha256: 3bfd742331660a59f827ea8815e2d16add6fe535d91a06583b9eec81777fc0e9

Contents?: true

Size: 441 Bytes

Versions: 7

Compression:

Stored size: 441 Bytes

Contents

const SetupHome = () => {

  TweenMax.defaultEase = Sine.easeInOut;

  let tl = new TimelineMax({repeat:-1,yoyo:true});

  tl.fromTo('.area._book',1,{y:-5},{y:5});

  $('.wrap._home').slick({
    slidesToScroll : 1,
    slidesToShow : 5,
    infinite : true,
    arrows : false
  });

  $('.wrap._book').hover(
    function() { TweenMax.to(this,0.1,{ y : -20 }); },
    function() { TweenMax.to(this,0.1,{ y : 0 }); }
  );
}

$(SetupHome);

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
futuro-0.3.5 assets/js/custom/SetupHome.js
futuro-0.3.4 assets/js/custom/SetupHome.js
futuro-0.3.3 assets/js/custom/SetupHome.js
futuro-0.3.2 assets/js/custom/SetupHome.js
futuro-0.3.1 assets/js/custom/_SetupHome.js
futuro-0.3.0 assets/js/custom/_SetupHome.js
futuro-0.2.9 assets/js/custom/_SetupHome.js