@@ -244,10 +244,10 @@ Let's say in an app with `ion-slides` we used the `ionSlideDidChange` event:
244
244
</ion-slides >
245
245
```
246
246
247
- To migrate, we would change the name of the event to ` slidechange ` :
247
+ To migrate, we would change the name of the event to ` swiperslidechange ` :
248
248
249
249
``` html
250
- <swiper-container (slidechange ) =" onSlideChange()" >
250
+ <swiper-container (swiperslidechange ) =" onSlideChange()" >
251
251
<swiper-slide >Slide 1</swiper-slide >
252
252
<swiper-slide >Slide 2</swiper-slide >
253
253
<swiper-slide >Slide 3</swiper-slide >
@@ -256,27 +256,27 @@ To migrate, we would change the name of the event to `slidechange`:
256
256
257
257
Below is a full list of event name changes when going from ` ion-slides ` to Swiper Angular:
258
258
259
- | ion-slides Event | Swiper Event |
260
- | ------------------------- | ---------------------------- |
261
- | ` ionSlideWillChange ` | ` slidechangetransitionstart ` |
262
- | ` ionSlideDidChange ` | ` slidechangetransitionend ` |
263
- | ` ionSlideDoubleTap ` | ` doubletap ` |
264
- | ` ionSlideDrag ` | ` slidermove ` |
265
- | ` ionSlideNextStart ` | ` slidenexttransitionstart ` |
266
- | ` ionSlideNextEnd ` | ` slidenexttransitionend ` |
267
- | ` ionSlidePrevStart ` | ` slideprevtransitionstart ` |
268
- | ` ionSlidePrevEnd ` | ` slideprevtransitionend ` |
269
- | ` ionSlideReachStart ` | ` reachbeginning ` |
270
- | ` ionSlideReachEnd ` | ` reachend ` |
271
- | ` ionSlideTap ` | ` tap ` |
272
- | ` ionSlideTouchStart ` | ` touchstart ` |
273
- | ` ionSlideTouchEnd ` | ` touchend ` |
274
- | ` ionSlideTransitionStart ` | ` transitionstart ` |
275
- | ` ionSlideTransitionEnd ` | ` transitionend ` |
276
- | ` ionSlidesDidLoad ` | ` init ` |
259
+ | ion-slides Event | Swiper Event |
260
+ | ------------------------- | ---------------------------------- |
261
+ | ` ionSlideWillChange ` | ` swiperslidechangetransitionstart ` |
262
+ | ` ionSlideDidChange ` | ` swiperslidechange ` |
263
+ | ` ionSlideDoubleTap ` | ` swiperdoubletap ` |
264
+ | ` ionSlideDrag ` | ` swiperslidermove ` |
265
+ | ` ionSlideNextStart ` | ` swiperslidenexttransitionstart ` |
266
+ | ` ionSlideNextEnd ` | ` swiperslidenexttransitionend ` |
267
+ | ` ionSlidePrevStart ` | ` swiperslideprevtransitionstart ` |
268
+ | ` ionSlidePrevEnd ` | ` swiperslideprevtransitionend ` |
269
+ | ` ionSlideReachStart ` | ` swiperreachbeginning ` |
270
+ | ` ionSlideReachEnd ` | ` swiperreachend ` |
271
+ | ` ionSlideTap ` | ` swipertap ` |
272
+ | ` ionSlideTouchStart ` | ` swipertouchstart ` |
273
+ | ` ionSlideTouchEnd ` | ` swipertouchend ` |
274
+ | ` ionSlideTransitionStart ` | ` swipertransitionstart ` |
275
+ | ` ionSlideTransitionEnd ` | ` swipertransitionend ` |
276
+ | ` ionSlidesDidLoad ` | ` swiperinit ` |
277
277
278
278
::: note
279
- All events available in Swiper Element can be found at <a href =" https://swiperjs.com/swiper-api#events " target =" _blank " rel =" noopener noreferrer " >https://swiperjs.com/swiper-api#events </a >.
279
+ All events available in Swiper Element can be found at <a href =" https://swiperjs.com/swiper-api#events " target =" _blank " rel =" noopener noreferrer " >https://swiperjs.com/swiper-api#events </a > and should be lowercased and prefixed with the word ` swiper ` .
280
280
:::
281
281
282
282
## Methods
0 commit comments