diff options
| author | Chris Rebert <[email protected]> | 2015-08-20 18:47:41 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-08-20 18:47:41 -0700 |
| commit | d24a15d2b046dea6951aa4e8c0b5e118650f3544 (patch) | |
| tree | fd226cb30175476e6becaeed8f4d2b926f15ed7a /docs | |
| parent | e3899b4fa848e73a0efcbba614b5ddf1af1c677c (diff) | |
| download | bootstrap-d24a15d2b046dea6951aa4e8c0b5e118650f3544.tar.xz bootstrap-d24a15d2b046dea6951aa4e8c0b5e118650f3544.zip | |
rm docs references to nuked stateful button feature
[skip sauce]
Diffstat (limited to 'docs')
| -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 %} |
