@@ -228,6 +228,7 @@ $('#myModal').on('show.bs.modal', function (e) {
<h3>Options</h3>
<p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-backdrop=""</code>.</p>
<divclass="bs-table-scrollable">
<tableclass="table table-bordered table-striped">
<thead>
<tr>
...
...
@@ -267,6 +268,7 @@ $('#myModal').on('show.bs.modal', function (e) {
</tr>
</tbody>
</table>
</div><!-- /.bs-table-scrollable -->
<h3>Methods</h3>
...
...
@@ -292,6 +294,7 @@ $('#myModal').modal({
<h3>Events</h3>
<p>Bootstrap's modal class exposes a few events for hooking into modal functionality.</p>
<p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset=""</code>.</p>
<p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.</p>
$('#myTooltip').on('hidden.bs.tooltip', function () {
// do something…
...
...
@@ -970,6 +984,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {
<h3>Options</h3>
<p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-animation=""</code>.</p>
<divclass="bs-table-scrollable">
<tableclass="table table-bordered table-striped">
<thead>
<tr>
...
...
@@ -1042,6 +1057,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {
</tr>
</tbody>
</table>
</div><!-- /.bs-table-scrollable -->
<divclass="bs-callout bs-callout-info">
<h4>Data attributes for individual popovers</h4>
<p>Options for individual popovers can alternatively be specified through the use of data attributes, as explained above.</p>
...
...
@@ -1070,6 +1086,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {
@@ -1096,6 +1113,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {
</tr>
</tbody>
</table>
</div><!-- /.bs-table-scrollable -->
{% highlight js %}
$('#myPopover').on('hidden.bs.popover', function () {
// do something…
...
...
@@ -1152,6 +1170,7 @@ $('#myPopover').on('hidden.bs.popover', function () {
<h3>Events</h3>
<p>Bootstrap's alert class exposes a few events for hooking into alert functionality.</p>
<divclass="bs-table-scrollable">
<tableclass="table table-bordered table-striped">
<thead>
<tr>
...
...
@@ -1170,6 +1189,7 @@ $('#myPopover').on('hidden.bs.popover', function () {
</tr>
</tbody>
</table>
</div><!-- /.bs-table-scrollable -->
{% highlight js %}
$('#my-alert').bind('closed.bs.alert', function () {
// do something…
...
...
@@ -1444,6 +1464,7 @@ $(".collapse").collapse()
<h3>Options</h3>
<p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-parent=""</code>.</p>
$('#myCollapsible').on('hidden.bs.collapse', function () {
// do something…
...
...
@@ -1661,6 +1684,7 @@ $('.carousel').carousel()
<h3>Options</h3>
<p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-interval=""</code>.</p>
<divclass="bs-table-scrollable">
<tableclass="table table-bordered table-striped">
<thead>
<tr>
...
...
@@ -1685,6 +1709,7 @@ $('.carousel').carousel()
</tr>
</tbody>
</table>
</div><!-- /.bs-table-scrollable -->
<h3>Methods</h3>
...
...
@@ -1714,6 +1739,7 @@ $('.carousel').carousel({
<h3>Events</h3>
<p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p>
<divclass="bs-table-scrollable">
<tableclass="table table-bordered table-striped">
<thead>
<tr>
...
...
@@ -1732,6 +1758,7 @@ $('.carousel').carousel({
</tr>
</tbody>
</table>
</div><!-- /.bs-table-scrollable -->
{% highlight js %}
$('#myCarousel').on('slide.bs.carousel', function () {
// do something…
...
...
@@ -1787,6 +1814,7 @@ $('#myCarousel').on('slide.bs.carousel', function () {
<h3>Options</h3>
<p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset-top="200"</code>.</p>
<divclass="bs-table-scrollable">
<tableclass="table table-bordered table-striped">
<thead>
<tr>
...
...
@@ -1805,4 +1833,6 @@ $('#myCarousel').on('slide.bs.carousel', function () {