0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

Mark stateful button feature as deprecated

Refs https://github.com/twbs/bootstrap/issues/16362#issuecomment-96268469
[skip sauce]
This commit is contained in:
Chris Rebert 2015-05-05 14:59:32 -07:00
parent a2f81ceb57
commit fce30b57e2

View File

@ -10,6 +10,7 @@
<h2 id="buttons-stateful">Stateful</h2>
<p>Add <code>data-loading-text="Loading..."</code> to use a loading state on a button.</p>
<p><strong class="text-danger">This feature is deprecated since v3.3.5 and will be removed in v4.</strong></p>
<div class="bs-callout bs-callout-info" id="callout-buttons-state-names">
<h4>Use whichever state you like!</h4>
<p>For the sake of this demonstration, we are using <code>data-loading-text</code> and <code>$().button('loading')</code>, but that's not the only state you can use. <a href="#buttons-methods">See more on this below in the <code>$().button(string)</code> documentation</a>.</p>