fix(infinite-scroll):infinite-scroll can be placed in child componenets, fixes #6531

This commit is contained in:
Andrew
2017-02-20 18:30:11 -08:00
parent aa528fdb42
commit fd53e04a47

View File

@ -155,7 +155,7 @@ export class InfiniteScroll {
@Output() ionInfinite: EventEmitter<InfiniteScroll> = new EventEmitter<InfiniteScroll>(); @Output() ionInfinite: EventEmitter<InfiniteScroll> = new EventEmitter<InfiniteScroll>();
constructor( constructor(
@Host() private _content: Content, private _content: Content,
private _zone: NgZone, private _zone: NgZone,
private _elementRef: ElementRef, private _elementRef: ElementRef,
private _dom: DomController private _dom: DomController