visionmedia / move.js

CSS3 backed JavaScript animation framework
http://visionmedia.github.com/move.js/
4.72k stars 686 forks source link

Move multiple dom elements? #57

Open dylan-baskind opened 9 years ago

dylan-baskind commented 9 years ago

Hey guys,

Great project.

Now I feel like I'm missing something obvious here - and apologies if I am - but move.js doesn't seem to support selecting multiple dom elements to apply an animation to? (i.e. supplying a '.someClass' selector, I'd assume would move all matches for that class, but it just moves the first match).

And the jquery example where we override the .select function, also returns a single JS Dom element.

At the moment I've got a function that loops through each instance of a matching dom element and applies the desired animation; but it feels a bit wrong.

D.

madstt commented 8 years ago

:+1: