mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
Mark stateful button feature as deprecated
Refs https://github.com/twbs/bootstrap/issues/16362#issuecomment-96268469 [skip sauce]
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
<h2 id="buttons-stateful">Stateful</h2>
|
<h2 id="buttons-stateful">Stateful</h2>
|
||||||
<p>Add <code>data-loading-text="Loading..."</code> to use a loading state on a button.</p>
|
<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">
|
<div class="bs-callout bs-callout-info" id="callout-buttons-state-names">
|
||||||
<h4>Use whichever state you like!</h4>
|
<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>
|
<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>
|
||||||
|
Reference in New Issue
Block a user