Open go1dfish opened 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.
Sure, I'd love a PR if you are feeling up to it :)
This is already in the ES6 branch, I had need for it as well.
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.