An AbstractRequest that loads HTML tags, such as images and scripts.
Remove event listeners, but don't destroy the request object
Handle any error events from the tag.
The tag request has not loaded within the time specified in loadTimeout.
The XHR error event.
Handle the readyStateChange event from a tag. We need this in place of the
onload callback (mainly SCRIPT
and LINK tags), but other cases may exist.
Handle a stalled audio event. The main place this happens is with HTMLAudio in Chrome when playing back audio that is already in a load, but not complete.
Handle the tag's onload callback.
Determines if the element was added to the DOM automatically by PreloadJS, so it can be cleaned up after.
A method closure used for handling the tag load event.
The HTML tag instance that is used to load.
The tag attribute that specifies the source, such as "src", "href", etc.