You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have events that need to fire when the image is loaded into an image element. I have found that the set_onload and related events like set_onloadeddata always fire before the image has actually loaded. This happens when using an Element or using an HtmlImageElement. In JavaScript, these functions on images reliably fire when the image has loaded completely. There is no other way that I know of to reliably determine if an image has fully loaded or not.
The text was updated successfully, but these errors were encountered:
I have events that need to fire when the image is loaded into an image element. I have found that the set_onload and related events like set_onloadeddata always fire before the image has actually loaded. This happens when using an Element or using an HtmlImageElement. In JavaScript, these functions on images reliably fire when the image has loaded completely. There is no other way that I know of to reliably determine if an image has fully loaded or not.
The text was updated successfully, but these errors were encountered: