core-list start item at specyfic index

25 views
Skip to first unread message

vito...@gmail.com

unread,
Apr 24, 2015, 9:45:22 AM4/24/15
to polym...@googlegroups.com

When script load, how to set start item on index (ex. 20)

core-list.data = has 100 items in array
start at index 20

I try

ready: function() {
    this.$.list.scrollToItem(20);
}

whit error result: this.setScrollTop is not a function

on domReady looks like some issue when scrolling up

onClick work perfect but I need set the index automatically when page load.

Reply all
Reply to author
Forward
0 new messages