From: Mark Otto Date: Mon, 14 Oct 2013 01:40:47 +0000 (-0700) Subject: mention .dropdown-backdrop and .open in dropdown docs /cc #10102 X-Git-Tag: v3.0.1~39^2~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fa9037e1c37759bdf446e83926b12073c3cddf3;p=thirdparty%2Fbootstrap.git mention .dropdown-backdrop and .open in dropdown docs /cc #10102 --- diff --git a/javascript.html b/javascript.html index a0e96c1c63..d7cc4c7a36 100644 --- a/javascript.html +++ b/javascript.html @@ -449,6 +449,7 @@ $('#myModal').on('hidden.bs.modal', function () { +

Via data attributes or JavaScript, the dropdown plugin toggles hidden content (dropdown menus) by toggling the .open class on the parent list item. When opened, the plugin also adds .dropdown-backdrop as a click area for closing dropdown menus when clicking outside the menu.

Via data attributes

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