twitter/bootstrap — pull request #2955 by ruimarinho (2012-04-05 14:28:20+00:00)
Title: Added 'current' and 'next' elements to the 'slide' and 'slid' events

Both `slide` and `slid` events do not pass along the current and the next elements to the event handler. This is very useful when using a custom thumbnail navigation, for example - the UI can react knowing what the next element is going to be.

The callback parameters are:

* `slide`: _event, currentElement, nextElement_
* `slid`: _event, previousElement, currentElement_