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

170
Views
cómo cambiar el tamaño de la parte superior en el cambio de tamaño del navegador

Mi propósito es hacer clic en un botón y mostrar un div con algo de texto, pero hay muchos botones en la página. Necesito volver a calcular el valor máximo para mi componente según el tamaño del navegador. Soy novato y no se como puedo hacer esto. Yo hago esto (angular)

 <div [top]="top">

en mis ts:

 click(event){ this.top=(event['Y']); }

El problema es que cuando cambia el tamaño del navegador y hace clic en el botón, el div no está abierto cuando quiero. Creo que hay alguna fórmula: event.y-event.screenY pero no encuentro ¿Alguien puede ayudarme?

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!