This PR makes it possible to implement GA tracking on the carousel by exposing a handler that reacts to slide change events.
Whenever the slide changes, the onSlideChange function (prop) is called.
This PR also makes it possible to implement GA tracking within the slides themselves by separating the slide contents from the wrapper which handles their animations.
Overview
This PR makes it possible to implement GA tracking on the carousel by exposing a handler that reacts to slide change events.
Whenever the slide changes, the
onSlideChange
function (prop) is called.This PR also makes it possible to implement GA tracking within the slides themselves by separating the slide contents from the wrapper which handles their animations.