Answers for "how to check if window is loaded javascript"

0

how to check if window is loaded javascript

function checkLoaded() {
  return document.readyState === "complete" || document.readyState === "interactive";
}
console.log(checkLoaded()) // true or false
Posted by: Guest on August-17-2021

Code answers related to "how to check if window is loaded javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language