Skip to content

wemakeawesomeshit/cat-loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#cat-loader

cat object loader. demo

##usage

var options = {
  text: "{VAL} %", // or "Loading"

  modal: {
    background:"rgba(0,0,0,0.7)",
    zIndex: 9999999999
  },

  blur: true,

  className: "wmas-loading"
};

// this renders the loading object
var loading = new Loading(options);

// set the number of objects to load
loading.countToLoad = 23; 

// set up the callback when complete
loading.onFinished = function(){
  clearInterval(t);
}

// called when an object is loaded
loading.objectLoaded();

About

our awesome loading mechanic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published