Optional
onCallback for handling errors during loading
The error that occurred
The URL of the asset that failed to load
Optional
onCallback for progress updates during loading
A number between 0 and 1 indicating the load progress
Optional
retryNumber of retry attempts if strategy is 'retry'
Optional
retryDelay in milliseconds between retry attempts
Optional
strategyStrategy to handle load failures
Options for loading assets with the Loader
Example