From 20040868c120f00889ee835a0b250551607d24b7 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 26 Jul 2013 19:46:42 -0700 Subject: [PATCH] Unfuck JS docs spacing and closing divs --- javascript.html | 1965 +++++++++++++++++++++++------------------------ 1 file changed, 969 insertions(+), 996 deletions(-) diff --git a/javascript.html b/javascript.html index e0ddae0a1d..f54a21523d 100644 --- a/javascript.html +++ b/javascript.html @@ -222,8 +222,6 @@ $('#myModal').on('show.bs.modal', function (e) { {% endhighlight %} - -

Usage

Via data attributes

@@ -337,74 +335,31 @@ $('#myModal').on('hidden.bs.modal', function () { - -
- + +
+ + +

Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.

- -

Add dropdown menus to nearly anything with this simple plugin, including the navbar, tabs, and pills.

- -

Within a navbar

- - -

Within tabs

-
- +
+
+
+ + +

Within tabs

+
+ +
-
+ - - - -

Via data attributes

-

Add data-toggle="dropdown" to a link or button to toggle a dropdown.

+

Via data attributes

+

Add data-toggle="dropdown" to a link or button to toggle a dropdown.

{% highlight html %} {% endhighlight %} -

Via JavaScript

-

Call the dropdowns via JavaScript:

+

Via JavaScript

+

Call the dropdowns via JavaScript:

{% highlight js %} $('.dropdown-toggle').dropdown() {% endhighlight %} -

Options

-

None

+

Options

+

None

-

Methods

-

$().dropdown('toggle')

-

A programmatic api for toggling menus for a given navbar or tabbed navigation.

- +

Methods

+

$().dropdown('toggle')

+

A programmatic api for toggling menus for a given navbar or tabbed navigation.

+ - -
-