Ngx-bootstrap: Is there a way to bind to the "slide" and "slid" events for carousel?

Created on 20 Jul 2016  路  6Comments  路  Source: valor-software/ngx-bootstrap

Once the carousel opens and you begin sliding left or right, how do you know which slide you are on? (If the [active] attribute worked perfectly, then whatever slide is active is the one you are on. But is there a way to know when the active attribute changes?)

comp(carousel) easy (hours) enhancement

Most helpful comment

@quiringk if can please check my commit, does it provides required functionality?

All 6 comments

@quiringk please join slack to ask more questions :)
https://www.hamsterpad.com/chat/ng2

@quiringk if can please check my commit, does it provides required functionality?

This also fixes #11.

Hi, Is a chance to merge the change to the current line?

I, for one, would love to see this merged in. Right now there's no way to update a selected thumbnail when the carousel changes slides.

CarouselComponent exposes activeSlideChange event https://valor-software.com/ngx-bootstrap/#/carousel#carousel-component

Was this page helpful?
0 / 5 - 0 ratings