From d79e898d676dfc80f89c24cd52ad71967c796bf1 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 11 Nov 2014 19:38:06 -0800 Subject: [PATCH] consolidate relatedTarget docs in dropdown event docs --- docs/_includes/js/dropdowns.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/_includes/js/dropdowns.html b/docs/_includes/js/dropdowns.html index 826fe6c08a..853030b5fb 100644 --- a/docs/_includes/js/dropdowns.html +++ b/docs/_includes/js/dropdowns.html @@ -164,6 +164,7 @@ $('.dropdown-toggle').dropdown()

Events

All dropdown events are fired at the .dropdown-menu's parent element.

+

All dropdown events have a relatedTarget property, whose value is the toggling anchor element.

@@ -175,19 +176,19 @@ $('.dropdown-toggle').dropdown() - + - + - + - +
show.bs.dropdownThis event fires immediately when the show instance method is called. The toggling anchor element is available as the relatedTarget property of the event.This event fires immediately when the show instance method is called.
shown.bs.dropdownThis event is fired when the dropdown has been made visible to the user (will wait for CSS transitions, to complete). The toggling anchor element is available as the relatedTarget property of the event.This event is fired when the dropdown has been made visible to the user (will wait for CSS transitions, to complete).
hide.bs.dropdownThis event is fired immediately when the hide instance method has been called. The toggling anchor element is available as the relatedTarget property of the event.This event is fired immediately when the hide instance method has been called.
hidden.bs.dropdownThis event is fired when the dropdown has finished being hidden from the user (will wait for CSS transitions, to complete). The toggling anchor element is available as the relatedTarget property of the event.This event is fired when the dropdown has finished being hidden from the user (will wait for CSS transitions, to complete).