twitter/bootstrap — pull request #4712 by corbinu (2012-08-25 22:45:19+00:00)
Title: Add event triggers to the Affix plugin

I added event triggers for when an item is affixed or unaffixed. In my case this was so I could have a default navbar and then when it becomes affixed add the "navbar-fixed-top" class for example:

Think it would be useful for any kind of style changes people want to make when an object is affixed.

Please feel free to make comments I can take constructive criticism :)