Skip to content

Commit 197af24

Browse files
paodbjavier-godoy
authored andcommitted
fix: fix position not set in SlideChangeEvent constructor
Close #15
1 parent e4744e2 commit 197af24

File tree

1 file changed

+1
-0
lines changed
  • src/main/java/com/flowingcode/vaadin/addons/carousel

1 file changed

+1
-0
lines changed

src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ public static class SlideChangeEvent extends ComponentEvent<Carousel> {
187187
public SlideChangeEvent(
188188
Carousel source, boolean fromClient, @EventData("event.detail.value") String position) {
189189
super(source, true);
190+
this.position = position;
190191
}
191192

192193
public String getPosition() {

0 commit comments

Comments
 (0)