Sha256: 7e3d206a70e0a4c667cf27cc04b03099f49b541b64c62975b7ce36171987af3a
Contents?: true
Size: 563 Bytes
Versions: 7
Compression:
Stored size: 563 Bytes
Contents
const SetupHome = () => { if ($(body).hasClass('setup-library') && $(body).hasClass('layout-single')) { 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({ slidesToScroll : 1, slidesToShow : 5, infinite : true, arrows : false }); $('.wrap._book').hover( function() { gsap.to(this,{duration:0.1,y:-20}); }, function() { gsap.to(this,{duration:0.1,y:0}); }); } } $(SetupHome);
Version data entries
7 entries across 7 versions & 1 rubygems