update to alpha.28)

domElement renamed to nativeElement
This commit is contained in:
Adam Bradley
2015-06-27 12:12:16 -05:00
parent a97527e0ad
commit 504ab46eb3
31 changed files with 5199 additions and 4348 deletions

View File

@ -5,7 +5,7 @@ export class ListVirtualScroll {
this.list = list;
this.content = this.list.content;
this.viewportHeight = this.content.domElement.offsetHeight;
this.viewportHeight = this.content.ele.offsetHeight;
this.viewContainer = this.list.itemTemplate.viewContainer;
@ -31,7 +31,7 @@ export class ListVirtualScroll {
}
resize() {
this.viewportHeight = this.content.domElement.offsetHeight;
this.viewportHeight = this.content.ele.offsetHeight;
this.viewportScrollHeight = this.content.scrollElement.scrollHeight;
this.virtualHeight = this.list.items.length * this.itemHeight;
@ -100,7 +100,7 @@ export class ListVirtualScroll {
}
console.log('VIRTUAL SCROLL: scroll(scrollTop:', st, 'topIndex:', topIndex, 'bottomIndex:', bottomIndex, ')');
console.log('Container has', this.list.domElement.children.length, 'children');
console.log('Container has', this.list.ele.children.length, 'children');
}
cellAtIndex(index) {