Skip to content

LazyLoad for horizontal scrolling #2

@thomasd

Description

@thomasd

I needed the lazy loading for horizontal scrolling containers and changed your class a little bit. Now the LazyLoad-Class has the option "mode" which can be either "vertical" or "horizontal" (default is "vertical"). In "vertical"-mode the class checks the y-value of the scrolling (same behaviour as before) in "horizontal"-mode the class checks the x-value. Everything else stays the same.

The code:
http://gist.github.com/255921

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