Skip to content

Fluxter/jQuery.ButtonLoadingIndicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

jQuery ButtonloadingIndicator

A simple script that changes the button icon to the fontawesome Spinner and reverts it when done

How to install

  1. Download the script

  2. Import the script via

    <script src="dist/jquery.buttonloadingindicator.js"></script>
  3. Use it

How to use

Start loading

$("a").on("click", function(ev) {
  ev.preventDefault();
  $(this).startLoading();
  // Do work
  $(this).stopLoading();
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published