JoshDSommer / nativescript-ngx-slides

A NativeScript + Angular module for to add a slides component to your mobile app
Other
45 stars 34 forks source link

'Changed' event not fired on swipe. #74

Closed yoat closed 5 years ago

yoat commented 5 years ago

Cross filed on the base slides repo: https://github.com/TheOriginalJosh/nativescript-slides/issues/121

this.changeSub = this.slideContainer.changed.subscribe(args => {
      console.log(`slide changed!`);
});

This event fires when I manually call this.slideContainer.nextSlide(250); or previousSlide(), but not when swiping.

I don't know if this is an issue with this plugin wrapper, or the underlying slides plugin, but I'm using the Angular version so I'm posting here.

Tested on Android.

yoat commented 5 years ago

The event is firing, confirmed.