From 32a7287b3bd22129592a7ffbe5a7e51b941ee41d Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 6 Jan 2024 13:19:31 -0500 Subject: [PATCH] Update slides.md on ionic 7.5.5, swiper 11.0.4 the table above should probably be rewritten to have the prefix "swiper" to all the events. event called "init" in table -> swiperinit and so on for all events. There are forum answers putting us on this track https://forum.ionicframework.com/t/ionic-7-angular-and-swiper-11-0-3-event-did-not-trigger/237358 Nice caveat I found, did trick me at first: The (click) event DOES work without the "swipe" prefix, but that's a generic click handler, not the Swipe click handler: https://swiperjs.com/swiper-api#events. ::: +::: note +https://swiperjs.com/element#events says "All Swiper events are available as native DOM events but with lowercase names and swiper prefix (prefix configurable with events-prefix). So you need to prefix the (init) method with either **swiper** or another prefix of your choice. + +``` +` element (such as through `ViewChild`), then access its `swiper` prop: