From d9266aee969b2ad57851fffd77409a997ee157d1 Mon Sep 17 00:00:00 2001 From: fat Date: Tue, 24 Dec 2013 16:37:53 -0800 Subject: [PATCH] add docs for affix events --- javascript.html | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/javascript.html b/javascript.html index ff67615eb0..be253ab0df 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.
+
+