]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Mark stateful button feature as deprecated
authorChris Rebert <code@rebertia.com>
Tue, 5 May 2015 21:59:32 +0000 (14:59 -0700)
committerChris Rebert <code@rebertia.com>
Tue, 5 May 2015 22:03:05 +0000 (15:03 -0700)
Refs https://github.com/twbs/bootstrap/issues/16362#issuecomment-96268469
[skip sauce]

docs/_includes/js/buttons.html

index 827906cd885f97736366aaf8c6fc6086eaab21c2..bd4644b3c87d9261b11b710231c30c1160a40668 100644 (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>