Skip to content

Commit

Permalink
fix(slides): correct order of parameters
Browse files Browse the repository at this point in the history
Closes #15407
  • Loading branch information
peterpeterparker authored and mhartington committed Aug 30, 2018
1 parent 4c87990 commit 6442dfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/components/slides/slides.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,15 @@ export class Slides {
*/
@Method()
slideNext(speed?: number, runCallbacks?: boolean) {
this.swiper.slideNext(runCallbacks, speed);
this.swiper.slideNext(speed, runCallbacks);
}

/**
* Transition to the previous slide.
*/
@Method()
slidePrev(speed?: number, runCallbacks?: boolean) {
this.swiper.slidePrev(runCallbacks, speed);
this.swiper.slidePrev(speed, runCallbacks);
}

/**
Expand Down

0 comments on commit 6442dfc

Please sign in to comment.