Access ionScroll Event on Other Component


#1

Hi

i try to grab the ion scroll Event on a other component page.

<custom-component [content]="content">

<ion-content #content>
</ion-content>
</custom-component>
@Input() content: Content;

this.content.ionScroll.subscribe((ev: ScrollEvent) => {
        console.log(ev);
      })


#2

I imported the wrong Content.

Fixed