$('#carouselExampleIndicators').bind('slide.bs.carousel', function (e) {
console.log(e.relatedTarget);
BackgroundCheck.refresh(e.relatedTarget);
});
I'm getting next image that will be shown after slider complete sliding with e.relatedTardet.
It is Target element injected into event from bootstrap carousel.
But i get all the time [object HTMLDivElement] is not a target, and it is target.
Target is not img as <IMG ...> it is <DIV ...> with backgeround from bootstrap carousel example.
I'm getting next image that will be shown after slider complete sliding with e.relatedTardet. It is Target element injected into event from bootstrap carousel. But i get all the time [object HTMLDivElement] is not a target, and it is target.
Target is not img as <IMG ...> it is <DIV ...> with backgeround from bootstrap carousel example.