Hierarchy

  • FileLoader

Constructors

Properties

Methods

Constructors

Properties

audioCache: {
    [key: string]: HTMLAudioElement;
} = {}

Type declaration

  • [key: string]: HTMLAudioElement
fileCache: {
    [key: string]: string;
} = {}

Type declaration

  • [key: string]: string
imageCache: {
    [key: string]: HTMLImageElement;
} = {}

Type declaration

  • [key: string]: HTMLImageElement

Methods

  • Parameters

    • url: string
    • useCache: boolean = true

    Returns Promise<string>

  • Parameters

    • url: string
    • useCache: boolean = true

    Returns Promise<HTMLAudioElement>

  • Parameters

    • url: string
    • useCache: boolean = true

    Returns Promise<HTMLImageElement>

Generated using TypeDoc