Skip to content

Commit ff1fdb8

Browse files
Changed args
1 parent 0cc6be7 commit ff1fdb8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nativescript-slides.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,7 @@ export class SlideContainer extends AbsoluteLayout {
360360
eventName: SlideContainer.startEvent,
361361
object: this,
362362
eventData: {
363-
direction: direction.left,
364-
index: this.currentPanel.index
363+
currentIndex: this.currentPanel.index
365364
}
366365
});
367366
} else if (args.state === gestures.GestureStateTypes.ended) {
@@ -414,7 +413,7 @@ export class SlideContainer extends AbsoluteLayout {
414413
eventName: SlideContainer.cancelledEvent,
415414
object: this,
416415
eventData: {
417-
index: this.currentPanel.index
416+
currentIndex: this.currentPanel.index
418417
}
419418
});
420419

0 commit comments

Comments
 (0)