diff --git a/docs/_includes/js/affix.html b/docs/_includes/js/affix.html
index 56168d6a89..f32b376de5 100644
--- a/docs/_includes/js/affix.html
+++ b/docs/_includes/js/affix.html
@@ -42,7 +42,7 @@ $('#myAffix').affix({
{% endhighlight %}
-
Options
+ Options
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-offset-top="200"
.
@@ -74,7 +74,7 @@ $('#myAffix').affix({
- Events
+ Events
Bootstrap's affix plugin exposes a few events for hooking into affix functionality.
diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html
index 7f539092f6..f2e70fa017 100644
--- a/docs/_includes/js/alerts.html
+++ b/docs/_includes/js/alerts.html
@@ -35,7 +35,7 @@
To have your alerts use animation when closing, make sure they have the .fade
and .in
classes already applied to them.
- Methods
+ Methods
$().alert()
Makes an alert listen for click events on descendant elements which have the data-dismiss="alert"
attribute. (Not necessary when using the data-api's auto-initialization.)
@@ -44,7 +44,7 @@
Closes an alert by removing it from the DOM. If the .fade
and .in
classes are present on the element, the alert will fade out before it is removed.
- Events
+ Events
Bootstrap's alert plugin exposes a few events for hooking into alert functionality.
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html
index c0afcdd5c7..02d01bc3c0 100644
--- a/docs/_includes/js/carousel.html
+++ b/docs/_includes/js/carousel.html
@@ -152,7 +152,7 @@
$('.carousel').carousel()
{% endhighlight %}
- Options
+ Options
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-interval=""
.
@@ -193,7 +193,7 @@ $('.carousel').carousel()
- Methods
+ Methods
.carousel(options)
Initializes the carousel with an optional options object
and starts cycling through items.
@@ -219,7 +219,7 @@ $('.carousel').carousel({
.carousel('next')
Cycles to the next item.
- Events
+ Events
Bootstrap's carousel class exposes two events for hooking into carousel functionality.
Both events have the following additional properties:
diff --git a/docs/_includes/js/collapse.html b/docs/_includes/js/collapse.html
index 732432e7e9..44d05e5366 100644
--- a/docs/_includes/js/collapse.html
+++ b/docs/_includes/js/collapse.html
@@ -161,7 +161,7 @@
$('.collapse').collapse()
{% endhighlight %}
- Options
+ Options
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-parent=""
.
@@ -190,7 +190,7 @@ $('.collapse').collapse()
- Methods
+ Methods
.collapse(options)
Activates your content as a collapsible element. Accepts an optional options object
.
@@ -209,7 +209,7 @@ $('#myCollapsible').collapse({
.collapse('hide')
Hides a collapsible element.
- Events
+ Events
Bootstrap's collapse class exposes a few events for hooking into collapse functionality.
diff --git a/docs/_includes/js/dropdowns.html b/docs/_includes/js/dropdowns.html
index 826fe6c08a..28b5993092 100644
--- a/docs/_includes/js/dropdowns.html
+++ b/docs/_includes/js/dropdowns.html
@@ -155,14 +155,14 @@ $('.dropdown-toggle').dropdown()
Regardless of whether you call your dropdown via JavaScript or instead use the data-api, data-toggle="dropdown"
is always required to be present on the dropdown's trigger element.
- Options
+ Options
None
- Methods
+ Methods
$().dropdown('toggle')
Toggles the dropdown menu of a given navbar or tabbed navigation.
- Events
+ Events
All dropdown events are fired at the .dropdown-menu
's parent element.
diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html
index 22924b4e7f..4c0d46e9b0 100644
--- a/docs/_includes/js/modal.html
+++ b/docs/_includes/js/modal.html
@@ -306,7 +306,7 @@ $('#exampleModal').on('show.bs.modal', function (event) {
Call a modal with id myModal
with a single line of JavaScript:
{% highlight js %}$('#myModal').modal(options){% endhighlight %}
- Options
+ Options
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-backdrop=""
.
@@ -353,7 +353,7 @@ $('#exampleModal').on('show.bs.modal', function (event) {
- Methods
+ Methods
.modal(options)
Activates your content as a modal. Accepts an optional options object
.
@@ -375,7 +375,7 @@ $('#myModal').modal({
Manually hides a modal. Returns to the caller before the modal has actually been hidden (i.e. before the hidden.bs.modal
event occurs).
{% highlight js %}$('#myModal').modal('hide'){% endhighlight %}
- Events
+ Events
Bootstrap's modal class exposes a few events for hooking into modal functionality.
diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html
index 8e051b27d5..a03c8d9a8d 100644
--- a/docs/_includes/js/popovers.html
+++ b/docs/_includes/js/popovers.html
@@ -137,7 +137,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
Enable popovers via JavaScript:
{% highlight js %}$('#example').popover(options){% endhighlight %}
- Options
+ Options
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-animation=""
.
@@ -266,7 +266,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
.popover('destroy')
Hides and destroys an element's popover.
{% highlight js %}$('#element').popover('destroy'){% endhighlight %}
- Events
+ Events
diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html
index dc89006861..d58ddbe5aa 100644
--- a/docs/_includes/js/scrollspy.html
+++ b/docs/_includes/js/scrollspy.html
@@ -93,7 +93,7 @@ $('body').scrollspy({ target: '.navbar-example' })
{% endhighlight %}
- Methods
+
.scrollspy('refresh')
When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:
{% highlight js %}
@@ -103,7 +103,7 @@ $('[data-spy="scroll"]').each(function () {
{% endhighlight %}
- Options
+
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-offset=""
.
@@ -126,7 +126,7 @@ $('[data-spy="scroll"]').each(function () {
- Events
+
diff --git a/docs/_includes/js/tabs.html b/docs/_includes/js/tabs.html
index 69f0cc45f2..9de511b9a6 100644
--- a/docs/_includes/js/tabs.html
+++ b/docs/_includes/js/tabs.html
@@ -91,7 +91,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
{% endhighlight %}
- Methods
+ Methods
$().tab
Activates a tab element and content container. Tab should have either a data-target
or an href
targeting a container node in the DOM.
@@ -118,7 +118,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed)
{% endhighlight %}
-
Events
+ Events
When showing a new tab, the events fire in the following order:
hide.bs.tab
(on the current active tab)
diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html
index 87893608b5..f349d08d3e 100644
--- a/docs/_includes/js/tooltips.html
+++ b/docs/_includes/js/tooltips.html
@@ -108,7 +108,7 @@ $('#example').tooltip(options)
{% endhighlight %}
- Options
+
Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-
, as in data-animation=""
.
@@ -208,7 +208,7 @@ $('#example').tooltip(options)
Options for individual tooltips can alternatively be specified through the use of data attributes, as explained above.
- Methods
+
$().tooltip(options)
Attaches a tooltip handler to an element collection.
@@ -229,7 +229,7 @@ $('#example').tooltip(options)
Hides and destroys an element's tooltip.
{% highlight js %}$('#element').tooltip('destroy'){% endhighlight %}
- Events
+
diff --git a/docs/_includes/nav/javascript.html b/docs/_includes/nav/javascript.html
index a1695bce82..711713e432 100644
--- a/docs/_includes/nav/javascript.html
+++ b/docs/_includes/nav/javascript.html
@@ -19,6 +19,9 @@
- Remove animation
- Varying content based on trigger button
- Usage
+ - Options
+ - Methods
+ - Events
-
@@ -26,6 +29,8 @@
-
@@ -33,6 +38,9 @@
-
@@ -40,6 +48,8 @@
-
@@ -47,6 +57,9 @@
-
@@ -54,6 +67,8 @@
-
@@ -61,6 +76,8 @@
-
@@ -77,6 +94,9 @@
-
@@ -84,6 +104,9 @@
-
@@ -91,5 +114,7 @@