Hey
I´m trying out GSAP Flip for the first time and I´m not 100% sure if I´m doing everything correctly.
I just wanna rearrange some images. For that I created a class with the styles that I wanna apply to the images.
It DOES work if I use “Custom (Document QuerySelector)” as Target Element in Flip but then it only rearranges one single image and not all of them.
When I set it to “Custom (Document QuerySelectorAll)” I get an error.
Can someone help me with this? What am I doing wrong? Why does it work with “Document QuerySelector” and not with “Document QuerySelectorAll”?
I noticed that it adds the data-attribute data-flip-id="auto-1", etc. but as it seems it also adds it do the container. The images get that attribute, too but the class “reorder” isn´t toggled.