From f689a26a1cfa09eeeaa29137c1af7f91c94fc344 Mon Sep 17 00:00:00 2001 From: fat Date: Tue, 24 Dec 2013 13:43:09 -0800 Subject: note for #10486 add note about data-toggle dropdown dependency --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index 061c0161d..ff67615eb 100644 --- a/javascript.html +++ b/javascript.html @@ -515,7 +515,7 @@ $('#myModal').on('hidden.bs.modal', function (e) { -

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 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. Note: The data-toggle=dropdown attribute is relied on for closing dropdown menus at an application level, so it's a good idea to always use it.

Via data attributes

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

-- cgit v1.2.3 From d9266aee969b2ad57851fffd77409a997ee157d1 Mon Sep 17 00:00:00 2001 From: fat Date: Tue, 24 Dec 2013 16:37:53 -0800 Subject: add docs for affix events --- javascript.html | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index ff67615eb..be253ab0d 100644 --- a/javascript.html +++ b/javascript.html @@ -2106,4 +2106,44 @@ $('#myCarousel').on('slide.bs.carousel', function () { + +

Events

+

Bootstrap's affix class exposes a few events for hooking into affix functionality.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Event TypeDescription
affix.bs.affixThis event fires immediately before the element has been affixed.
affixed.bs.affixThis event is fired after the element has been affixed.
affix-top.bs.affixThis event fires immediately before the element has been affixed-top.
affixed-top.bs.affixThis event is fired after the element has been affixed-top.
affix-bottom.bs.affixThis event fires immediately before the element has been affixed-bottom.
affixed-bottom.bs.affixThis event is fired after the element has been affixed-bottom.
+
+ -- cgit v1.2.3 From c595db19ff21b5782cf0d510a34ee943508d115c Mon Sep 17 00:00:00 2001 From: fat Date: Thu, 26 Dec 2013 20:26:27 -0800 Subject: fixes #10911 - add loading event for use with remote option :| --- javascript.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index be253ab0d..fe24dd9c1 100644 --- a/javascript.html +++ b/javascript.html @@ -403,6 +403,10 @@ $('#myModal').modal({ hidden.bs.modal This event is fired when the modal has finished being hidden from the user (will wait for CSS transitions to complete). + + loaded.bs.modal + This event is fired when the modal has loaded content using the remote option. + -- cgit v1.2.3 From 201088cb5f9ab4af062b62ac3a10a2e8f07a6ec5 Mon Sep 17 00:00:00 2001 From: fat Date: Thu, 26 Dec 2013 20:33:44 -0800 Subject: update accordion-group to panel --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index fe24dd9c1..9c17c555e 100644 --- a/javascript.html +++ b/javascript.html @@ -1738,7 +1738,7 @@ $('.collapse').collapse() parent selector false - If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this dependent on the accordion-group class) + If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this dependent on the panel class) toggle -- cgit v1.2.3