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

204
Views
Cambiar de clic para revelar a teclado (bonificación si puedo designar una tecla específica)

El guión actual es:

 <script data-name="Incremental IO" data-version="v0.1"> var observer = new MutationObserver((mutations) => { mutations.forEach((mutation) => { if (!mutation.addedNodes) return if ((rect = document.querySelector(".closet-rect")) != null) { incrementalIO(rect) observer.disconnect() } }) }) observer.observe(document.getElementById("qa"), { childList: true, subtree: true }) function incrementalIO(first) { for (rect of document.querySelectorAll(".closet-rect.is-active")) { rect.classList.remove("is-active") } activate(first) } function activate(rect) { rect.classList.add("is-active") rect.addEventListener("click", reveal) } function reveal() { this.classList.remove("is-front") this.classList.add("is-back") if ((next = this.nextElementSibling) != null) { activate(next) } } </script>

Cuando cambio el .addEventListener a "keyup", todavía tengo que hacer clic en el objeto antes de que permita que funcione la función keyup. Esto anula el propósito de eliminar el clic para revelar. ¿Hay alguna manera de que pueda seleccionar automáticamente los objetos para que funcione la clave? Idealmente, me gustaría especificar una clave para hacer esto, pero me conformaría con cualquiera por el momento.

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!