<p><spanclass="label notice">Notice</span> Alternatively, this can be retrieved with <code>$().data('modal')</code>.</p>
<p><spanclass="label notice">Notice</span> Alternatively, this can be retrieved with <code>$().data('modal')</code>.</p>
<h3>Events</h3>
<h3>Events</h3>
<p>Bootstrap's modal class exposes a few events for hooking into modal functionality. The include:</p>
<p>Bootstrap's modal class exposes a few events for hooking into modal functionality. </p>
<!-- <ul>
<li><strong>show</strong> - This event fires immediately when the <code>show</code> instance method is called.</li>
<li><strong>shown</strong> - This event is fired when the modal has been made visible to the user (will wait for css transitions to complete).</li>
<li><strong>hide</strong> - This event is fired immediately when the <code>hide</code> instance method has been called.</li>
<li><strong>hidden</strong> - This event is fired when the modal has finished being hidden from the user (will wait for css transitions to complete).</li>
</ul> -->
<tableclass="zebra-striped">
<tableclass="zebra-striped">
<thead>
<thead>
<tr>
<tr>
<thstyle="width: 150px;">Name</th>
<thstyle="width: 150px;">Event</th>
<th>Description</th>
<th>Description</th>
</tr>
</tr>
</thead>
</thead>
...
@@ -229,7 +221,7 @@ $('#my-modal').bind('hidden', function () {
...
@@ -229,7 +221,7 @@ $('#my-modal').bind('hidden', function () {
<p><spanclass="label notice">Notice</span> Topbar anchor tags must have resolvable id targets. For example, a <code><a href="#home">home</a></code> might correspond to a<code><div id="home"></div></code>.
<p><spanclass="label notice">Notice</span> Topbar anchor tags must have resolvable id targets. For example, a <code><a href="#home">home</a></code> must correspond to something in the dom like<code><div id="home"></div></code>.
</p>
</p>
<h4>.scrollspy('refresh')</h4>
<h4>.scrollspy('refresh')</h4>
<p>The scrollspy caches nav buttons and section coordinates for performance. If you need to update this cache (likely if you have dynamic content) just call this refresh method. If you used the data attribute to define your scrollspy, just call refresh on the body like below.</p>
<p>The scrollspy caches nav buttons and section coordinates for performance. If you need to update this cache (likely if you have dynamic content) just call this refresh method. If you used the data attribute to define your scrollspy, just call refresh on the body.</p>