diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html index 827906cd88..55009dee2f 100644 --- a/docs/_includes/js/buttons.html +++ b/docs/_includes/js/buttons.html @@ -10,6 +10,7 @@

Stateful

Add data-loading-text="Loading..." to use a loading state on a button.

+

This feature is deprecated since v3.3.5 and will be removed in v4.

Use whichever state you like!

For the sake of this demonstration, we are using data-loading-text and $().button('loading'), but that's not the only state you can use. See more on this below in the $().button(string) documentation.

@@ -119,7 +120,7 @@

Toggles push state. Gives the button the appearance that it has been activated.

$().button('reset')

-

Resets button state - swaps text to original text.

+

Resets button state - swaps text to original text. This method is asynchronous and returns before the resetting has actually completed.

$().button(string)

Swaps text to any data defined text state.