These are chat archives for angular/angular-2-ionic-2

25th
Jul 2016
acorduan
@acorduan
Jul 25 2016 16:17
@platypusrex
you can try something like that :
<ion-scroll #scrolling scrollY = 'true'  scrollX = 'true'>
...
</ion-scroll>

// in the ts :
export class test {
@ViewChild('scrolling') scrolling:ElementRef;
constructor(element:ElementRef){
        this.scrolling = element;
    }
}

ngOnInit()
{
 this.scrolling.scrollElement.addEventListener('scroll', function (event) {
                 console.log(event.srcElement.scrollTop)
                });
}
@aaronksaunders Thank you for your attention, I succed to make it work, it was a resolution problem (too big for the iphone). :)
Hi guys, would like to know if there is a way to use the event gesture on-release (which work on ionic 1) for ionic2/anguar2 ?