How does vue determine the entire page height when all the content is rendered

including all the pictures on the page have been loaded

Mar.01,2021

try to get it in the mounted lifecycle function.


window.onload:
mounted(){
    window.onload=function(){
        console.log(document.documentElement.offsetHeight)
    }
}
Menu