diff --git a/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java b/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java index 03b3b0d..b174d29 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java +++ b/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java @@ -187,6 +187,7 @@ public static class SlideChangeEvent extends ComponentEvent { public SlideChangeEvent( Carousel source, boolean fromClient, @EventData("event.detail.value") String position) { super(source, true); + this.position = position; } public String getPosition() {