Sha256: 6445e9c1e48a58948d343eae764629051fe4153f64e7623c1463d250e3905fea
Contents?: true
Size: 575 Bytes
Versions: 21
Compression:
Stored size: 575 Bytes
Contents
const SetupHome = () => { if (BodyIsHome) { let tl = gsap.timeline({ repeat : -1, yoyo : true, defaults : { ease : "sine.inOut" } }); tl.fromTo(".area.book",{ y : -5 },{ duration : 1, y : 5 }); $(".wrap.home").slick(Config.slick); $(".wrap.book").hover( function() { gsap.to(this,{ duration : 0.1, y : -20 }); }, function() { gsap.to(this,{ duration : 0.1, y : 0 }); }); } } if (SiteIsLibrary) { $(SetupHome); }
Version data entries
21 entries across 21 versions & 1 rubygems