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

Parallax layers in slick slider #334

Open
persianlionn opened this issue Feb 26, 2025 · 2 comments
Open

Parallax layers in slick slider #334

persianlionn opened this issue Feb 26, 2025 · 2 comments

Comments

@persianlionn
Copy link

Is it possible to move layers to the left or right in a Slick slider when changing slides?
afterChange, beforeChange and swipe events does not work properly for this.
Thanks.

@reneroth
Copy link
Collaborator

This library is not really meant to do anything but move layers based on mouse or gyroscope. It could conceivably be hacked on top of it, e.g. by directly targeting the child elements of the layers and giving them an additional transform based on your slider.

@persianlionn
Copy link
Author

@reneroth Can you give an example?

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

2 participants