toddmotto / echo

Lazy-loading images with data-* attributes

Home Page:http://toddmotto.com/labs/echo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a bug or not a bug

dclovec opened this issue · comments

My project is: will not scroll, the

element in can scroll, but echo not worked on in the
. Maybe echo just only listen the 's scroll event ? If yes, can you fix this for using on any element not just ? It can add a pramameter named "container", then listen scroll event of the "container". Thank you!

You could change the script slightly to allow you to pass a custom selector to Echo. I don't think it'd be a huge change to add this functionality into the code, would you be able to submit a PR?

OK.

I can't push the source code, permission denied. @toddmotto

Did you fork the project? :) you'll need to fork, commit to your own repo, then pull request your branch across to mine :)

I pulled it, checkout!