Optional
bodyOptionalBodyMethod used to handle the Response.
Default to blob
for Image, Video and Audio. See AsyncPreloader.defaultBodyMethod.
Optional
fontFont options used by FontFace and FontFaceObserver
Optional
idOptional key.
Used to retrieve the LoadedValue using AsyncPreloader.items.get(id)
Optional
loaderOptional LoaderKey.
If none specified, the loader is inferred from the file extension.
Default to Text
if the extension doesn't match any of the extensions specified in AsyncPreloader.loaders.
Note: It needs to be specified for Font and Audio (webm, ogg).
Optional
mimeOptional mimeType used to handle the Response.
Note: Only used to parse the document in the Xml Loader.
Optional
noOptional disable image decoding.
Note: Only used for loadImage.
Optional
optionsOptional RequestInit
object to pass to the fetch method.
Input for the Fetch API
Main interface representing an object to load. src is the only mandatory key.