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

121
Views
¿Cómo puedo mostrar automáticamente que un elemento aparezca/desaparezca según la hora actual en AngularJS?

¿Hay otra forma de que los elementos aparezcan y desaparezcan automáticamente en un momento determinado que no sea a través del tiempo de espera ()? Como ng-if="system.Time>12:00:00" en pseudocódigo. Preferiblemente solo hecho con html. A lo que me refiero es a una oferta válida por una hora, por ejemplo.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Tal vez una función como esta podría ser de ayuda:

 function timeChecker(){ if(/*check if item should be visible*/){ visible = true } else { visible = false } } // your timeChecker function will be runned every minute so you can implement more complex logic if needed var interval = setInterval(timeChecker, 1 * 60 * 1000 /*that would be one minute*/); // just remember to clear interval when you destroy component clearInterval(interval);

about 4 years ago · Juan Pablo Isaza Report
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!