Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

152
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda