Creates a new ImageLoader.
Optional configuration options.
The base path for resource URLs.
Whether the image should be flipped vertically during loading.
Registers an event listener.
The event type.
The callback function.
Dispatches an event.
The event type.
Optional data associated with the event.
Loads a resource from the given URL.
The relative URL to the resource.
A promise resolving to the loaded resource.
Removes a registered event listener.
The event type.
The callback function to remove.
Sets the base path for the loader.
The base path string.
this
Loader for image assets.