diff options
| author | Mark Otto <[email protected]> | 2015-08-20 21:08:57 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-08-20 21:08:57 -0700 |
| commit | c961723184b672e571800df86b110dd72a7cd4e1 (patch) | |
| tree | f5df8b181c61f49e3a9c7e235cd8723a339d9673 /docs/components | |
| parent | b7fe55d064cf0d307faf00a6fa48fee1fed88621 (diff) | |
| parent | d24a15d2b046dea6951aa4e8c0b5e118650f3544 (diff) | |
| download | bootstrap-c961723184b672e571800df86b110dd72a7cd4e1.tar.xz bootstrap-c961723184b672e571800df86b110dd72a7cd4e1.zip | |
Merge pull request #17178 from twbs/die-stateful-btn
rm docs references to nuked stateful button feature
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/buttons.md | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/docs/components/buttons.md b/docs/components/buttons.md index 893d04df2..664c8f57b 100644 --- a/docs/components/buttons.md +++ b/docs/components/buttons.md @@ -179,18 +179,3 @@ Note that pre-checked buttons require you to manually add the `.active` class to | Method | Description | | --- | --- | | `$().button('toggle')` |Toggles push state. Gives the button the appearance that it has been activated. | -| `$().button('reset')` | 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. | - -### Custom state example - -{% highlight html %} -<button type="button" id="myStateButton" data-complete-text="finished!" class="btn btn-primary" autocomplete="off"> - ... -</button> -<script> - $('#myStateButton').on('click', function () { - $(this).button('complete') // button text will be "finished!" - }) -</script> -{% endhighlight %} |
