From e6fb021d263ea06bc53d38bf1072c5d68cc98b4f Mon Sep 17 00:00:00 2001 From: mhartington Date: Mon, 1 Feb 2016 16:26:31 -0500 Subject: [PATCH] docs(list): update list docs --- ionic/components/list/list.ts | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/ionic/components/list/list.ts b/ionic/components/list/list.ts index 49fc718339..b2a4d8724a 100644 --- a/ionic/components/list/list.ts +++ b/ionic/components/list/list.ts @@ -25,15 +25,38 @@ export class List extends Ion { private _enableSliding: boolean = false; private _virtualScrollingManager: ListVirtualScroll; + /** + * @private + */ ele: HTMLElement; + + /** + * @private + */ itemTemplate: any; + + /** + * @private + */ slidingGesture: ItemSlidingGesture; + + /** + * @private + */ @Input() items; + + /** + * @private + */ @Input() virtual; + + /** + * @private + */ @Input() content; - constructor(elementRef: ElementRef, private zone: NgZone) { + constructor(elementRef: ElementRef, private _zone: NgZone) { super(elementRef); this.ele = elementRef.nativeElement; } @@ -98,7 +121,7 @@ export class List extends Ion { if (shouldEnable) { console.debug('enableSlidingItems'); - this.zone.runOutsideAngular(() => { + this._zone.runOutsideAngular(() => { setTimeout(() => { this.slidingGesture = new ItemSlidingGesture(this, this.ele); });