1.0.1 • Published 3 years ago
js-loader-fn v1.0.1
what is this ?
Loader Plugin For Web Sites
Installation
npm install js-loader-fn --save
show loader
showLoader : attach the full page loader to web site.
import { showLoader } from "js-loader-fn";
showLoader(); // show full page loader;
showLoader({title: "Please wait..."}); // show full page loader with custom text;
hide loader
showLoader : attach the full page loader to web site.
import { hideLoader } from "js-loader-fn";
hideLoader(); // hide full page loader;