Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

151
Views
Difficulty being able to call functions using Ionicslides react

I am using the react typescript with ionic but I am having problems using the slides. I currently have two problems I want to trigger a function that saves the state using my save method when the slide changes but only the current slide not all of them. and the second problem is also when I reduce the size of the screen the slides disappear any help would be much appreciated

    console.log(event.target)
    let index: number = 0;
    await event.target.getActiveIndex().then((value: any) => (index=value));

}
  return (
    <IonPage>
      <DetailsModal/>
      <IonSlides onIonSlideDidChange={(e)=>getIndex(e)}>
        <IonSlide >
          <house houseID={houseID} save={save}/>
        </IonSlide>
        <IonSlide >
          <car carID={carID} save={save}/>
        </IonSlide>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!