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

134
Visualizações
What does window.clientHeight specifies in mobile screens?

I have a simple doubt that when we specify window.clientheight in JavaScript for mobile screens, does it tells the whole screen's height including navigation panel (shown in image) or it excludes that panel. enter image description here

And if it includes that panel (as I'm guessing), how can I specify only screen's width excluding the panel.

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

in your senerio, window.innerHeight is better option for you. I guess.

console.log(window.innerHeight)

about 4 years ago · Juan Pablo Isaza Relatório

0

clientHeight belongs to an element and window is not an element. So there is nothing for window.clientHeight.

window.clientHeight = undefined

read this, this may help you : https://javascript.info/size-and-scroll-window

about 4 years ago · Juan Pablo Isaza Relatório
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