A beautiful animated loader with a js busy queuing system.
npm install @aamasri/busyA beautiful animated loader with a js busy queuing system.
![]()
busy.start('fetching dinner', 30, true); // modal spinner with 30 second timeoutwindow.setTimeout( function () {
busy.stop('fetching dinner') // stop spinner after 10 seconds
}, 10000);
1. Download & copy this package's "dist" folder into your web server's public folder eg. ``public/js/dist/*`.`
2. Rename "dist" to "busy" eg. public/js/busy`body
3. Load the busy script at the end of your web page (before the closing tag) like this:`
...