5.1.6 #permalink Loading buttons

Toggle example guides Toggle HTML markup

In addition to disabling your button, you can add a little animation to show that something is loading, and it will be available soon. Useful on simple pages with complex javascript where the button's click handler may not be loaded for some human-noticeable amount of time. In that case, add this class to the button in your html, then remove it when the javascript is ready.

 <a class="btn btn_loading" disabled>Loading</a>
Source: modules/05_user_interface/buttons.less, line 620