You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debugger shows swiper.autoplay.start() has been renamed swiper.autoplay.run() in v.7 but the docs still say start() and the typescript types for AutoplayMethods still say start() but errors result
unless you do something like
(this.swiper.autoplayasany).run();
after which the errors stop, at least, and a single slide autoplays...but it doesn't keep on playing. So my guess is the start() method is now simply missing, somehow...I see the rest of the methods in the debugger including stop() but no start().
I am using Ionic 6 beta 4 and Angular 12...maybe the Ionic library is snipping off start() somehow?
Anyway putting this out there as I will have to roll back to Swiper 6 otherwise.
spicemix
changed the title
swiper.autoplay.start() renamed swiper.autoplay.run() but not in types or docs
swiper.autoplay.start() seems to be missing from API?
Aug 26, 2021
Actually it looks like the Angular setup isn't working at all in v7 for me, can't manually swipe slides either. But the missing swiper.autoplay.start() is the only error reported in Chrome debugger as such. If you leave this issue open I can recount how I got it working for your other users, which is more important to open source than github issue sanitation. (Assume I backed out to v6 if I'm not allowed to update this report)
spicemix
changed the title
swiper.autoplay.start() seems to be missing from API?
swiper.autoplay.start() seems to be missing from v7 Angular API?
Aug 26, 2021
OK I'm backing out to v.6 as I can't get v.7 Angular working at all. If anyone has any luck please let us know if the report is still open for you to do so. It seems the angular implementation is still using things that are deprecated in the main v.7 (e.g. SwiperCore.use(...)) so it's probably too early to migrate.
(Confirming: The exact same code works flawlessly in 6.8.4. I am fully updated on all other dependencies, Angular 12.2.3, etc.)
Check that this is really a bug
Reproduction link
http://yes.i.know/go.ahead/lock.the.report
Bug description
Debugger shows swiper.autoplay.start() has been renamed swiper.autoplay.run() in v.7 but the docs still say start() and the typescript types for AutoplayMethods still say start() but errors result
unless you do something like
after which the errors stop, at least, and a single slide autoplays...but it doesn't keep on playing. So my guess is the start() method is now simply missing, somehow...I see the rest of the methods in the debugger including stop() but no start().
I am using Ionic 6 beta 4 and Angular 12...maybe the Ionic library is snipping off start() somehow?
Anyway putting this out there as I will have to roll back to Swiper 6 otherwise.
Swiper version
7.0.0
Platform/Target and Browser Versions
Angular 12
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: