Try this: https://github.com/kamilkp/angular-vs-repeat
it does exactly the thing you need assuming the elements height or width is 
constant and known.
Demo: http://kamilkp.github.io/angular-vs-repeat/

W dniu poniedziałek, 1 lipca 2013 23:53:57 UTC+2 użytkownik Tobias 
Gesellchen napisał:
>
> Yes, but without complete optimization of adding/removing dom elements 
> like ng-grid provides through its viewport only rendering. We used 
> ngInfiniteScroll for "add-elements-on-scroll-down" event triggering, but we 
> don't remove invisible elements, so the browser memory could become too 
> small when the user scrolls to the very end of a list.
> There's another interesting directive, which is still under construction, 
> but looks promising: 
> https://github.com/davidjnelson/angular-table/issues/1
>
>
> On Monday, July 1, 2013 11:23:53 PM UTC+2, Brian Campbell wrote:
>>
>> have you tried this yet?
>>
>> http://binarymuse.github.io/ngInfiniteScroll/index.html
>>
>> On Friday, January 4, 2013 10:45:43 AM UTC-7, Jean Maynier wrote:
>>>
>>> Hi,
>>>
>>> Did someone already implemented a ngRepeat directive with virtual 
>>> scrolling ?
>>> Ideally a solution that find the height if the items automatically and 
>>> calculate the number of items and which items to display based on the 
>>> viewport and scrolling position.
>>> ngGrid does not work for me as I'm building a facebook like feed, not a 
>>> grid. 
>>>
>>> Regards,
>>>
>>> Jean
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to