Infinity list using LitElement, LitHtml

31 views
Skip to first unread message

rtf...@gmail.com

unread,
Nov 16, 2018, 8:12:09 AM11/16/18
to Polymer

I want to make an infinity list using LitElement, LitHtml


Like this:

https://npm-demos.appspot.com/@polymer/iron-scrol...@3.0.1/demo/scrolling-region.html

Now I am only show fixed array: toFollow size 5

<div id = "wrapper" style="padding: 10px; ">

            ${repeat(toFollow, (item) => html`

                <follow-card

                    id="followCard"

                    fullData=${item}></follow-card>

            `)}

            </div>

Anyone have same sample of this implementation in polymer 3!

 

Thanks

Thad Humphries

unread,
Nov 16, 2018, 10:49:45 AM11/16/18
to Polymer
Look at https://github.com/valdrinkoshi/virtual-scroller and the talk about it on day #2 of the Chrome Dev Summit. This looks to be where they’re going.
Reply all
Reply to author
Forward
0 new messages