StatefulJS is a plugin depends on jQuery to show manually the state of processes by
<button>s (or visible
<any>). This comes in handy on slow connections or AJAX requests. This has deprecated from Bootstrap since since v3.3.5 but if you still need it, clap your hands now.
disabled; so use default or style yourself.)
All you have to do is to set
data-loading-text to a prefered text or just leave blank to show default "Loading...". Delay of the toggle can be also set in milliseconds with
data-loading-delay but it's optional with default 3000ms (3 secs).
data-loading-text="" is a must.
From v1.1 you can set global parameters:
text(string) : Text to display on stateful
delay(integer) : Time to hold stateful
disabled(boolean) : Disable gloabally if
data-loading-text="Wait for it">Click me too</button>
data-loading-text="Legendary" data-loading-delay="500">Click me as well</div>