OptionalbodyOptionalBodyMethod used to handle the Response.
Default to blob for Image, Video and Audio. See AsyncPreloader.defaultBodyMethod.
OptionalfontFont options used by FontFace and FontFaceObserver
OptionalidOptional key.
Used to retrieve the LoadedValue using AsyncPreloader.items.get(id)
OptionalloaderOptional 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).
OptionalmimeOptional mimeType used to handle the Response.
Note: Only used to parse the document in the Xml Loader.
OptionalnoOptional disable image decoding.
Note: Only used for loadImage.
OptionaloptionsOptional 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.