WordPress Carousel Click Event

Product:

WonderPlugin Carousel

Question:

Is there anyway I can have the callback from every click on carousel item?

I want to trigger something after every click on carousel item.

Please advice.

Answer:

The carousel itself does not have an event.

But you can directly add click event to the items. For example:

jQuery(document).ready(function() {
  jQuery(".amazingcarousel-image img").click(function() {

    console.log("image clicked ");
  });

  jQuery(".amazingcarousel-hover-effect").click(function() {

    console.log("hover effect image clicked");
  });
});

The first code adds click event to the images, the second code adds click event to the hover effect image.