Carousel scroll
This event is triggered when the carousel scrolls.
Argument | Type | Description |
progress | number | How far slider has moved, from at the first slide to at the end |
positionX | number | Position in X axis in pixels. |
[pastacode lang=”javascript” manual=”wpgb.carousel.on(%20’scroll’%2C%20function(%20progress%2C%20positionX%20)%20%7B%0A%09%0A%09console.log(%20’scroll%20progress’%2C%20progress%20*%20100%20%2B%20’%25’%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]