I have a loading screen that hides on the event window load.
window.addEventListener("load", function(){
Loader.classList.add("hide")
});
but I also have Images that are set to loading="lazy", I am trying to hide the loading screen when everything except the images has loaded.
Thanks in advance.