Ionic Swiper.JS

0
487
Swiper NameIonic NameArgumentsDescription
activeIndexChangeswiperactiveindexchange(swiper)Event will fired on active index change
afterInitswiperafterinit(swiper)Event will fired right after initialization
beforeDestroyswiperbeforedestroy(swiper)Event will be fired right before Swiper destroyed
beforeInitswiperbeforeinit(swiper)Event will fired right before initialization
beforeLoopFixswiperbeforeloopfix(swiper)Event will be fired right before “loop fix”
beforeResizeswiperbeforeresize(swiper)Event will fired before resize handler
beforeSlideChangeStartswiperbeforeslidechangestart(swiper)Event will fired before slide change transition start
beforeTransitionStartswiperbeforetransitionstart(swiper, speed, internal)Event will fired before transition start
breakpointswiperbreakpoint(swiper, breakpointParams)Event will be fired on breakpoint change
changeDirectionswiperchangedirection(swiper)Event will fired on direction change
clickswiperclick(swiper, event)Event will be fired when user click/tap on Swiper. Receives pointerup event as an arguments.
destroyswiperdestroy(swiper)Event will be fired on swiper destroy
doubleClickswiperdoubleclick(swiper, event)Event will be fired when user double click/tap on Swiper
doubleTapswiperdoubletap(swiper, event)Event will be fired when user double tap on Swiper’s container. Receives pointerup event as an arguments
fromEdgeswiperfromedge(swiper)Event will be fired when Swiper goes from beginning or end position
initswiperinit(swiper)Fired right after Swiper initialization.
lockswiperlock(swiper)Event will be fired when swiper is locked (when watchOverflow enabled)
loopFixswiperloopfix(swiper)Event will be fired after “loop fix”
momentumBounceswipermomentumbounce(swiper)Event will be fired on momentum bounce
observerUpdateswiperobserverupdate(swiper)Event will be fired if observer is enabled and it detects DOM mutations
orientationchangeswiperorientationchange(swiper)Event will be fired on orientation change (e.g. landscape -> portrait)
progressswiperprogress(swiper, progress)Event will be fired when Swiper progress is changed, as an arguments it receives progress that is always from 0 to 1
reachBeginningswiperreachbeginning(swiper)Event will be fired when Swiper reach its beginning (initial position)
reachEndswiperreachend(swiper)Event will be fired when Swiper reach last slide
realIndexChangeswiperrealindexchange(swiper)Event will fired on real index change
resizeswiperresize(swiper)Event will be fired on window resize right before swiper’s onresize manipulation
setTransitionswipersettransition(swiper, transition)Event will be fired everytime when swiper starts animation. Receives current transition duration (in ms) as an arguments
setTranslateswipersettranslate(swiper, translate)Event will be fired when swiper’s wrapper change its position. Receives current translate value as an arguments
slideChangeswiperslidechange(swiper)Event will be fired when currently active slide is changed
slideChangeTransitionEndswiperslidechangetransitionend(swiper)Event will be fired after animation to other slide (next or previous).
slideChangeTransitionStartswiperslidechangetransitionstart(swiper)Event will be fired in the beginning of animation to other slide (next or previous).
slideNextTransitionEndswiperslidenexttransitionend(swiper)Same as “slideChangeTransitionEnd” but for “forward” direction only
slideNextTransitionStartswiperslidenexttransitionstart(swiper)Same as “slideChangeTransitionStart” but for “forward” direction only
slidePrevTransitionEndswiperslideprevtransitionend(swiper)Same as “slideChangeTransitionEnd” but for “backward” direction only
slidePrevTransitionStartswiperslideprevtransitionstart(swiper)Same as “slideChangeTransitionStart” but for “backward” direction only
slideResetTransitionEndswiperslideresettransitionend(swiper)Event will be fired in the end of animation of resetting slide to current one
slideResetTransitionStartswiperslideresettransitionstart(swiper)Event will be fired in the beginning of animation of resetting slide to current one
sliderFirstMoveswipersliderfirstmove(swiper, event)Event will be fired with first touch/drag move
sliderMoveswiperslidermove(swiper, event)Event will be fired when user touch and move finger over Swiper and move it. Receives pointermove event as an arguments.
slidesGridLengthChangeswiperslidesgridlengthchange(swiper)Event will be fired when slides grid has changed
slidesLengthChangeswiperslideslengthchange(swiper)Event will be fired when number of slides has changed
slidesUpdatedswiperslidesupdated(swiper)Event will be fired after slides and their sizes are calculated and updated
snapGridLengthChangeswipersnapgridlengthchange(swiper)Event will be fired when snap grid has changed
snapIndexChangeswipersnapindexchange(swiper)Event will fired on snap index change
tapswipertap(swiper, event)Event will be fired when user click/tap on Swiper. Receives pointerup event as an arguments.
toEdgeswipertoedge(swiper)Event will be fired when Swiper goes to beginning or end position
touchEndswipertouchend(swiper, event)Event will be fired when user release Swiper. Receives pointerup event as an arguments.
touchMoveswipertouchmove(swiper, event)Event will be fired when user touch and move finger over Swiper. Receives pointermove event as an arguments.
touchMoveOppositeswipertouchmoveopposite(swiper, event)Event will be fired when user touch and move finger over Swiper in direction opposite to direction parameter. Receives pointermove event as an arguments.
touchStartswipertouchstart(swiper, event)Event will be fired when user touch Swiper. Receives pointerdown event as an arguments.
transitionEndswipertransitionend(swiper)Event will be fired after transition.
transitionStartswipertransitionstart(swiper)Event will be fired in the beginning of transition.
unlockswiperunlock(swiper)Event will be fired when swiper is unlocked (when watchOverflow enabled)
updateswiperupdate(swiper)Event will be fired after swiper.update() call