Carousel slide event should give to and from elems
Created by: pehrlich
Hello!
Currently when handling the carousel slide event it is difficult to get the fram that one is sliding to. The process I currently use is to find the .active within the carousel, and then either go one up or one down depending on the event target (which is either the left or right arrow.)
It would would great if slide and slid just passed in on the event itself where they were doing to and from.
PS What am I doing this for? To conditionally hide the arrow at either extreme to prevent looping. Not a terrible possible configuration option?