Sha256: 8642652d65d08e7ba7b35fcc46f3dbb8ceab1cf70027a32592f4a9d4b9a17126
Contents?: true
Size: 482 Bytes
Versions: 13
Compression:
Stored size: 482 Bytes
Contents
const SetupHome = () => { if ($(body).hasClass("type-home")) { let tl = gsap.timeline({repeat:-1,yoyo:true,defaults:{ease:"sine.inOut"}}); tl.fromTo(Site.home.book.area,{y:-5},{duration:1,y:5}); $(Site.home.wrap).slick(Site.home.slick); $(Site.home.book.wrap).hover( function() { gsap.to(this,{duration:0.1,y:-20}); }, function() { gsap.to(this,{duration:0.1,y:0}); }); } } if (Config.install == "library") { $(SetupHome); }
Version data entries
13 entries across 13 versions & 1 rubygems