Skip to content

Commit

Permalink
Merge pull request #10591 from twbs/modal-remote-migration-doc
Browse files Browse the repository at this point in the history
add modal 'remote' option semantics change to migration docs
  • Loading branch information
cvrebert committed Sep 12, 2013
2 parents d88e743 + 306d850 commit 0e54a49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ <h2 id="migration-notes">Additional notes</h2>
<li>The icons, now <code>.glyphicon</code>, are now font based. Icons also require a base and icon class (e.g. <code>.glyphicon .glyphicon-asterisk</code>).</li>
<li>Typeahead has been dropped, in favor of using <a href="http://twitter.github.io/typeahead.js/">Twitter Typeahead</a>.</li>
<li>Modal markup has changed significantly. The <code>.modal-header</code>, <code>.modal-body</code>, and <code>.modal-footer</code> sections are now wrapped in <code>.modal-content</code> and <code>.modal-dialog</code> for better mobile styling and behavior.</li>
<li>The HTML loaded by the <code>remote</code> modal option is now injected into the <code>.modal</code> instead of into the <code>.modal-body</code>. This allows you to also easily vary the header and footer of the modal, not just the modal body.</li>
<li>JavaScript events are namespaced. For example, to handle the modal "show" event, use <code>'show.bs.modal'</code>. For tabs "shown" use <code>'shown.bs.tab'</code>, etc..</li>
</ul>
<p>For more information on upgrading to v3.0, and code snippets from the community, see <a href="http://bootply.com/">Bootply</a>.</p>
Expand Down

0 comments on commit 0e54a49

Please sign in to comment.