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

SwiperOptions missing [config] parameter #6980

Closed
3 of 4 tasks
marshall86 opened this issue Aug 25, 2023 · 6 comments
Closed
3 of 4 tasks

SwiperOptions missing [config] parameter #6980

marshall86 opened this issue Aug 25, 2023 · 6 comments

Comments

@marshall86
Copy link

Clear and concise description of the problem

Swiper Version 10 for Angular (swiper element) doesn't have the [config] parameter to initialize the slider with a custom SwiperConfig object. It would be nice and easier to upgrade from version 8+ if you would be able to make this possible.

Suggested solution

Add config parameter in the swiper-container to allow a SwiperOptions object.

Alternative

Make it clear how to implement a custom configuration in the controller

Additional context

No response

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.

Would you like to open a PR for this feature?

  • I'm willing to open a PR
@nolimits4web
Copy link
Owner

There is no Swiper Angular in v10

@marshall86
Copy link
Author

swiper element is the one you suggest in your doc to use in ionic and angular...

@nolimits4web
Copy link
Owner

Yes and you can use manual init to pass the whole object

@marshall86
Copy link
Author

yes... What i'm asking here is to make it possible with a dynamic configuration from the controller instead of the html. Thanks

@EliezerB123
Copy link

@marshall86 We're actually considering moving to v8 , because we're hoping it has better Angular support than v10. (And because the Shadow Dom swiper 10 uses is godawful to make custom CSS modifications to.)

Any chance you happened to know where we can find the API documentation for Swiper v8?

@marshall86
Copy link
Author

@marshall86 We're actually considering moving to v8 , because we're hoping it has better Angular support than v10. (And because the Shadow Dom swiper 10 uses is godawful to make custom CSS modifications to.)

Any chance you happened to know where we can find the API documentation for Swiper v8?

If they moved to v10 they should provide good support for all the frameworks/libraries they say they support.. downgrading, in my opinion, it's not an option because with the time it might stop working or not being compatible with some devices or browsers..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants