Interface IProgressPreloaderResource

Data structure for custom resources to preload.

interface IProgressPreloaderResource {
    id: string | Element;
    loaded: number;
    weight: number;
}

Properties

Properties

id: string | Element

The custom resource identifier.

loaded: number

Loaded weight

weight: number

A resource may be split into multiple parts. This is the resource weight