Carousel::setCarouselAnimationEndedCallback() method
@fn void Carousel::setCarouselAnimationEndedCallback(touchgfx::GenericCallback& callback) Associates an action to be performed when an animation ends. @see GenericCallback
void setCarouselAnimationEndedCallback(touchgfx::GenericCallback<const Carousel&>& callback); Arguments
callback
The callback to be executed. The callback will be given a reference to the Carousel.
Location | Text |
Carousel.hpp:207 | void setCarouselAnimationEndedCallback(touchgfx::GenericCallback<const Carousel&>& callback) { carouselAnimationEndedAction = &callback; } |