Gets whether an image is completely loaded.
Property of dom/HTMLImageElementdom/HTMLImageElement
SyntaxNote: This property is read-only.
var complete = image.complete;
Return Value
Returns an object of type BooleanBoolean
Whether the image is completely loaded.
Usage Use this property to determine whether an image is completely loaded, or still in the process of loading.
Notes
Once an image is completely loaded, you can get its actual naturalWidth and naturalHeight properties, or make layout assumptions.
Related specificationsimg
input
input type=image
Reference
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4