Skip to content

Commit

Permalink
add docs for affix events
Browse files Browse the repository at this point in the history
  • Loading branch information
fat committed Dec 25, 2013
1 parent c77740b commit d9266ae
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -2106,4 +2106,44 @@ <h3>Options</h3>
</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>

1 comment on commit d9266ae

@cvrebert
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refs #11720.

Please sign in to comment.