feat(angular): ion-nav

This commit is contained in:
Manu Mtz.-Almeida
2018-03-20 18:00:26 +01:00
parent d3105d1a76
commit f39d3ad9dd
6 changed files with 121 additions and 21 deletions

View File

@ -28,7 +28,7 @@ export class VirtualScroll {
private heightChanged = false;
private lastItemLen = 0;
@Element() el: HTMLElement;
@Element() el: HTMLStencilElement;
@Prop({context: 'dom'}) dom: DomController;
@Prop({context: 'enableListener'}) enableListener: EventListenerEnable;
@ -257,7 +257,7 @@ export class VirtualScroll {
} else if (this.domRender) {
this.domRender(this.virtualDom);
} else if (this.renderer) {
(this.el as any).forceUpdate();
this.el.forceUpdate();
}
if (this.heightChanged) {
this.el.style.height = this.totalHeight + 'px';