From: fat Date: Wed, 25 Dec 2013 00:37:53 +0000 (-0800) Subject: add docs for affix events X-Git-Tag: v3.1.0~136^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9266aee969b2ad57851fffd77409a997ee157d1;p=thirdparty%2Fbootstrap.git add docs for affix events --- 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.
+
+