mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
test(slides): add test for slides and remove the second parameter on the move event
references #5379
This commit is contained in:
@ -284,7 +284,7 @@ export class Slides extends Ion {
|
||||
return this.options.onLazyImageReady && this.options.onLazyImageReady(swiper, slide, img);
|
||||
};
|
||||
options.onSliderMove = (swiper, e) => {
|
||||
this.move.emit(swiper, e);
|
||||
this.move.emit(swiper);
|
||||
return this.options.onSliderMove && this.options.onSliderMove(swiper, e);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user