URL base.
If true
, will continue request other resource if error occurs, default value is false
Emit specified event with event name
and parameters.
The event name.
The parameters that will be passed to event listeners.
Get resource as audio element.
The defined resource name or resource base name in the url.
Get resource as blob URL.
The defined resource name or resource base name in the url.
Get resource as array buffer.
The defined resource name or resource base name in the url.
Get resource as HTML document.
The defined resource name or resource base name in the url.
Get resource as image.
The defined resource name or resource base name in the url.
Get resource as JSON.
The defined resource name or resource base name in the url.
Get resource as text.
The defined resource name or resource base name in the url.
Get resource as video element.
The defined resource name or resource base name in the url.
Check whether listener
is in the list for listening specified event name
.
The event name.
The event listener to check.
The scope binded to listener. If provided, will additionally check whether the scope match.
Check whether any listener
is listening specified event name
.
The event name.
Load bunch of resources.
Removes the listener
that is listening specified event name
.
The event name.
The event listener, only matched listener will be removed.
The scope binded to listener. If provided, remove listener only when scope match.
Registers an event listener
to listen event with specified name
.
The event name.
The event listener.
The scope will be binded to listener.
Registers an event listener
to listen event with specified name
, triggers for only once.
The event name.
The event listener.
The scope will be binded to listener.
Removes all the event listeners.
Generated using TypeDoc
Preload resources from their urls, and get total progress notifications. Please beware of the CORS settings at the server. If you want the progress working, please makesure the
content-length
response header is available.