0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Document that $(...).button('reset') is async.

Closes #16362.
[skip sauce]
This commit is contained in:
Chris Rebert 2015-05-05 15:02:07 -07:00
parent fce30b57e2
commit 89f2c5c5c0

View File

@ -120,7 +120,7 @@
<p>Toggles push state. Gives the button the appearance that it has been activated.</p>
<h4><code>$().button('reset')</code></h4>
<p>Resets button state - swaps text to original text.</p>
<p>Resets button state - swaps text to original text. <strong>This method is asynchronous and returns before the resetting has actually completed.</strong></p>
<h4><code>$().button(string)</code></h4>
<p>Swaps text to any data defined text state.</p>