Skip to content

Image floating from left #5

@levipadre

Description

@levipadre

Hi,

I just stared to use this directive. It seems really good, just I can't figure it out, how can I float one of my images.
Basically, when the user is scrolling, the image starts the float from out of the screen on the left side, and finally arrives the original point.
I tried with this:

scroll-watch="{from: 1000, to: -1}" sw-style="{left: 100 * $progress + '%'}"

but the direction is wrong, and now is going to right from the starting point.
Do you know where is the problem?

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