twitter/bootstrap — Issue #1035: 2.0-wip: Pass the triggering element to collapse events
Author: tinyfly
Created: 2012-01-17 18:17:12+00:00
State: open

It be useful to have the triggering element passed to the collapse events (i.e. show, shown, hide, hidden) . That way I could easily do things like change the text, add or remove a class, or swich out icons depending on the state of the collapsed element.