Last active
July 12, 2024 10:47
-
-
Save munierujp/d5bf56551828b44d3474479a4c8be6c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const waitLoaded = async () => { | |
await new Promise((resolve) => { | |
window.addEventListener('load', () => { | |
resolve() | |
}) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment