Skip to content

Move multiple dom elements? #57

@dylan-baskind

Description

@dylan-baskind

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions