aboutsummaryrefslogtreecommitdiff
path: root/javascript.html
diff options
context:
space:
mode:
authorfat <[email protected]>2013-12-24 16:37:53 -0800
committerfat <[email protected]>2013-12-24 16:37:53 -0800
commitd9266aee969b2ad57851fffd77409a997ee157d1 (patch)
tree47a3e81953f7a6f192af51f087074c03c72c88f6 /javascript.html
parentc77740bd3abf379ba5880219fc5719eaa0e484d6 (diff)
downloadbootstrap-d9266aee969b2ad57851fffd77409a997ee157d1.tar.xz
bootstrap-d9266aee969b2ad57851fffd77409a997ee157d1.zip
add docs for affix events
Diffstat (limited to 'javascript.html')
-rw-r--r--javascript.html40
1 files changed, 40 insertions, 0 deletions
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 () {
</table>
</div><!-- /.table-responsive -->
+
+ <h3>Events</h3>
+ <p>Bootstrap's affix class exposes a few events for hooking into affix functionality.</p>
+ <div class="table-responsive">
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th style="width: 150px;">Event Type</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>affix.bs.affix</td>
+ <td>This event fires immediately before the element has been affixed.</td>
+ </tr>
+ <tr>
+ <td>affixed.bs.affix</td>
+ <td>This event is fired after the element has been affixed.</td>
+ </tr>
+ <tr>
+ <td>affix-top.bs.affix</td>
+ <td>This event fires immediately before the element has been affixed-top.</td>
+ </tr>
+ <tr>
+ <td>affixed-top.bs.affix</td>
+ <td>This event is fired after the element has been affixed-top.</td>
+ </tr>
+ <tr>
+ <td>affix-bottom.bs.affix</td>
+ <td>This event fires immediately before the element has been affixed-bottom.</td>
+ </tr>
+ <tr>
+ <td>affixed-bottom.bs.affix</td>
+ <td>This event is fired after the element has been affixed-bottom.</td>
+ </tr>
+ </tbody>
+ </table>
+ </div><!-- /.table-responsive -->
+
</div>