@wge/wg-loading-screen
v0.1.9
Published
``` npm ci ```
Readme
Install
npm ciRun
npm startUsage
import { LoadingScreen } from 'wg-loading-screen/lib';
const options = {};
const loadingScreen = new LoadingScreen(options);
loadingScreen.init();
loadingScreen.setProgress(100);
// Use dispose method if 'autoHide' is set to 'false'
loadingScreen.dispose();
//
// Options:
//
{
autoHide: boolean,
fadeOut: boolean,
fadeOutDuration: number,
messages: [string],
messageDuration: number,
onLoad: function
};
