Sha256: f97433662885aa673fd991cffde96c1e258614869d8e11c4e3dea49b3385497b

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 Bytes

Contents

var loadTl = new TimelineMax({repeat:-1,repeatDelay:0.2}),
    loaders = ['.title._load,.box._load,.bar._load'];

loadTl
.set(loaders,{className:'+=--pop'})
.add('popop','0.2')
.to('.bar._load',0.4,{width:"100%"},'popop')
.set(loaders,{className:'-=--pop'},'popop')
.set(loaders,{className:'+=--popop'},'popop')
.add('popopop','0.4')
.set(loaders,{className:'-=--popop'},'popopop')
.set(loaders,{className:'+=--popopop'},'popopop')
;

var siteFunc = () => {
  var siteTl = new TimelineMax({delay:0.6});

  siteTl
  .set('.overlay._load',{className:'-=--open'},'0.1')
  .set('.site',{className:'+=--open',onComplete:function(){loadTl.stop();}},'0.1')
  ;
}

$(document).ready(siteFunc);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
futuro-0.0.1 assets/js/vendor/paulh.load.js