From: Chris Rebert Date: Mon, 3 Mar 2014 22:42:39 +0000 (-0800) Subject: add data-toggle button.js change to migration docs X-Git-Tag: v3.2.0~438^2~36^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd37ea307686716edd6df409f2fb76951bfa6a5b;p=thirdparty%2Fbootstrap.git add data-toggle button.js change to migration docs --- diff --git a/docs/migration.html b/docs/migration.html index d8fe727413..ff856140de 100644 --- a/docs/migration.html +++ b/docs/migration.html @@ -428,6 +428,7 @@ lead: "Guidance on how to upgrade from Bootstrap v2.x to v3.x with emphasis on m
  • Typeahead has been dropped, in favor of using Twitter Typeahead.
  • Modal markup has changed significantly. The .modal-header, .modal-body, and .modal-footer sections are now wrapped in .modal-content and .modal-dialog for better mobile styling and behavior. Also, you should no longer apply .hide to .modal in your markup.
  • As of v3.1.0, the HTML loaded by the remote modal option is now injected into the .modal-content (from v3.0.0 to v3.0.3, into the .modal) instead of into the .modal-body. This allows you to also easily vary the header and footer of the modal, not just the modal body.
  • +
  • The checkbox and radio features of the button.js plugin now both use data-toggle="buttons" instead of data-toggle="buttons-checkbox" or data-toggle="buttons-radio" in their markup.
  • JavaScript events are namespaced. For example, to handle the modal "show" event, use 'show.bs.modal'. For tabs "shown" use 'shown.bs.tab', etc.
  • For more information on upgrading to v3.0, and code snippets from the community, see Bootply.