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

205
Views
Cómo abrir un modal desde un componente principal y hacer que la acción de cerrar restablezca el componente principal para que el modal pueda abrirse nuevamente en angular

Tengo dos componentes padre e hijo. componente secundario es una superposición modal (ventana emergente). En el componente principal con un clic, tengo que abrir modal. hasta aquí lo he hecho, pero una vez que cierro modal, no puedo abrir modal nuevamente.

componente padre html

 <a (ckick)="openLearningPathPopup()"> click here </a> <div id="learningPopup" *ngIf="showLearningPopup"> <app-ds-emp-learning ></app-ds-emp-learning> </div> parent component ts part showLearningPopup :boolean = false; openLearningPathPopup(){ this.showLearningPopup = true; }
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!