Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events Handler parameters doesn't work on WebComponent #6399

Closed
5 of 6 tasks
quentin-benyahia opened this issue Feb 15, 2023 · 0 comments
Closed
5 of 6 tasks

Events Handler parameters doesn't work on WebComponent #6399

quentin-benyahia opened this issue Feb 15, 2023 · 0 comments

Comments

@quentin-benyahia
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codepen.io/quentin-benyahia/pen/PodwPrx

Bug description

I'm trying to get the v9 working, replacing my Swiper React package as recommended in your doc. We were trying to get the event handlers working, with both Parameters as Props or Parameters as Attributes, unfortunately, the event doesn't seem to trigger, even tho some other params are taken into account (like slides per view)

I followed your doc step by step without updating anything on the Codepen so you can have a look at my issue. It's only copy paste from it.

Expected Behavior

The event trigger on Init, or on Slide Change

Actual Behavior

Nothing inside the "on" props trigger

Swiper version

9.0.5

Platform/Target and Browser Versions

MacOS Safari

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant