parallax icon indicating copy to clipboard operation
parallax copied to clipboard

Parallax layers in slick slider

Open persianlionn opened this issue 10 months ago • 2 comments

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.

persianlionn avatar Feb 26 '25 10:02 persianlionn

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.

reneroth avatar Feb 26 '25 13:02 reneroth

@reneroth Can you give an example?

persianlionn avatar Feb 27 '25 06:02 persianlionn