Skip to content

Range limit X/Y.Β #87

@kitsunde

Description

@kitsunde

I've used parallax in a rather complex project with full page transitions and multiple scenes and run into a few cases that have been difficult to deal with. I'm submitting my issues for your consideration.

Use case: I had one scene which was split down the middle with the right side black and the left an image. We were doing split screen transitions. It didn't make sense on these pages to shift the right side an equal distance as the left which had a background.

Being able to optionally pass an array into limit would be nice, like:

parallax.limit([-100, 0], false);

Though it's conceivable that one would want to limit a single element (in my case only the background).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions