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

(swipe) event not working #69

Closed cesarodriguez4 closed 6 years ago

cesarodriguez4 commented 6 years ago

Seems that swipe event is not working property in a XML like this:

<slides (swipe)="changeSearchItem($event)">    
        <slide *ngFor="let a of b">
            <CustomComponent customProperty="val"></CustomComponent>
         </slide>  </slides>

I've seen that we can't use callbacks when moving around the slides in this library.

tns version 4.1.0

JoshDSommer commented 6 years ago

This is a custom component and it doesn't expose a swipe event. there is a change and and finished event that are emitted.