twitter/bootstrap — Issue #2482: Scrollspy: Callback/Event for onActivate
Author: sieppl
Created: 2012-03-09 09:53:50+00:00
State: open

It would be very nice to have something to bind to "onActivate". So when either the nav is clicked OR you scroll and it is activated some event should be fired (or callback called).
I know you can hook into css class changes with jQuery as well, but this seems to be very edgy. (see http://stackoverflow.com/questions/1397251/event-detect-when-css-property-changed-using-jquery)