Skip to content

Commit

Permalink
fix: fix position not set in SlideChangeEvent constructor
Browse files Browse the repository at this point in the history
Close #15
  • Loading branch information
paodb authored and javier-godoy committed Jul 21, 2021
1 parent e4744e2 commit 197af24
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ public static class SlideChangeEvent extends ComponentEvent<Carousel> {
public SlideChangeEvent(
Carousel source, boolean fromClient, @EventData("event.detail.value") String position) {
super(source, true);
this.position = position;
}

public String getPosition() {
Expand Down

0 comments on commit 197af24

Please sign in to comment.