eviltrout / ember-cloaking

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

iScroll support #6

Closed H1D closed 10 years ago

H1D commented 10 years ago

There are many use-cases where we need not full-screen scrolling. Fo example tiny widget with twitter updates or comments.. whatever. In this case iScroll or other library used to scroll content through fixed size div (wrapper).

With this patch it is possible to just bind wrapperTop and wrapperHeight to let ember-cloaking do the job.

Demo -- http://jsbin.com/ACikukuCA/29/edit

eviltrout commented 10 years ago

Awesome work, thanks!