Image complete property
Image Object
Definition and Usage
The complete property returns whether the browser has finished loading the image.
If loading is complete, it returns true, otherwise it returns false.
Syntax
imageObject.complete
Browser support





All major browsers support the complete property
Example
Example
The following example checks whether the image has finished loading:
Try it »
Image Object