Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoadingIndicatorJSLibrary

LoadingIndicatorJSLibrary is a minimalist Javascript library for showing busy icon or msg on the top of any DOM element.

LoadingIndicatorJSLibrary was created because I wanted to practice writing Javascript libraries. So feel free to fork and create pull requests!

demo LoadingIndicatorJSLibrary

Find the working documentation here

Written by Mohammad Ahshan Danish.

JavaScript

display method is to display busy msg on top of the element. remove method is to remove busy msg.

<script>
        require(['./loading-indicator-min-amd.js'], function(Loading) {
            const loadingMsg = new Loading("boxesId", {
                innerText: "Please wait..."
            });


// show busy
loadingMsg.display();
// remove busy
loadingMsg.remove();

        });
    </script>

About

Loading indicator JS library

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages