From: Chris Rebert Date: Tue, 8 Dec 2015 00:48:22 +0000 (-0800) Subject: Add entry about stateful buttons to v4 migration guide X-Git-Tag: v4.0.0-alpha.2~38^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e11708369472293937b1fd11ba5973b79bf495f7;p=thirdparty%2Fbootstrap.git Add entry about stateful buttons to v4 migration guide Refs #18459, #17178 [skip sauce] --- diff --git a/docs/migration.md b/docs/migration.md index 39c398b339..e53fbbed22 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -85,6 +85,8 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with - Renamed `.btn-default` to `.btn-secondary`. - Dropped the `.btn-xs` class entirely. +- The [stateful button](http://getbootstrap.com/javascript/#buttons-methods) feature of the `button.js` jQuery plugin has been dropped. This includes the `$().button(string)` and `$().button('reset')` methods. We advise using a tiny bit of custom JavaScript instead, which will have the benefit of behaving exactly the way you want it to. + - Note that the other features of the plugin (button checkboxes, button radios, single-toggle buttons) have been retained in v4. ### Grid system