Preloader
Simple preloader class.
Requirements:
none
Options:
Default options
debug: false //set to true if you want console logs.
Usage:
//ES6 import; //Instanciate new Preloaderlet preloader = ; //ADD assetspreloader;// OR use an ARRAYpreloader;preloader;
TODO
- Improve to accept any type of file and use ajax.