Carousel change
This event is triggered when a slide is selected.
Argument | Type | Description |
index | number | Selected slide index |
[pastacode lang=”javascript” manual=”wpgb.carousel.on(%20’change’%2C%20function(%20index%20)%20%7B%0A%09%0A%09console.log(%20’selected%20slide’%2C%20index%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]