eviltrout / ember-cloaking

Support for not rendering offscreen views in an Ember app for performance
MIT License
294 stars 29 forks source link

Suggestion: Allow specifying selector for scroll container for event hooks #16

Open go1dfish opened 10 years ago

go1dfish commented 10 years ago

It would be useful to be able to specify a jquery style selector string for the onscroll event bindings for cases where the document scroll events are not sufficient or desirable.

g-cassie commented 10 years ago

+1 I think this is a fairly common use case. I would also make the debounce time configurable at the same time.

eviltrout commented 10 years ago

Sure, I'd love a PR if you are feeling up to it :)

runspired commented 9 years ago

This is already in the ES6 branch, I had need for it as well.