Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

155
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda