JavaScript Window - The Browser Object Model - W3Schools A string, without whitespace, specifying the name of the browsing context the resource is being loaded into. The format of returned data depends on the read operation's method. We and our partners use data for Personalised ads and content, ad and content measurement, audience insights and product development. How to check an image is loaded or not in VueJS ? The following example uses the load event handler to determine if an image, which exists in the DOM tree, has been completely loaded: You can assign an onload event handler directly using the onload attribute of the element, like this: If you create an image element dynamically, you can assign an onload event handler before setting the src property as follows: The