mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
feat(angular): ion-nav
This commit is contained in:
@ -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';
|
||||
|
Reference in New Issue
Block a user