-1

I'm writing an application in Ionic & Angular. I'm using the ion-slides component and I would like to launch a script to recalculate the full amounts at each change of slide... Could you please explain to me how to do it? Is there a generic event? Thanks for reading so far.

NewLomter
  • 95
  • 1
  • 7
vanpevi
  • 5
  • 4

1 Answers1

0

Ok, I found it by myself:

in the html:

   <ion-slides (ionSlideDidChange)="slideChanged()">

in the ts:

  slideChanged()
  {
    console.log('Slide changed');
}
vanpevi
  • 5
  • 4