Reference Source
public class | source

LoadingManager

You can directly use an instance of this class. DefaultLoadingManager

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

handlers: *[]

public
public
public
public

onError: *

public

onLoad: *

public
public

onStart: *

public

Method Summary

Public Methods
public

addHandler(regex: *, loader: *): *

public

getHandler(file: *): *

public

itemEnd(url: *)

public

itemError(url: *)

public

itemStart(url: *)

public

removeHandler(regex: *): *

public

resolveURL(url: *): *

public

setURLModifier(transform: *): *

Public Constructors

public constructor() source

Public Members

public handlers: *[] source

public isLoading: boolean source

public itemsLoaded: number source

public itemsTotal: number source

public onError: * source

public onLoad: * source

public onProgress: * source

public onStart: * source

public urlModifier: * source

Public Methods

public addHandler(regex: *, loader: *): * source

Params:

NameTypeAttributeDescription
regex *
loader *

Return:

*

public getHandler(file: *): * source

Params:

NameTypeAttributeDescription
file *

Return:

*

public itemEnd(url: *) source

Params:

NameTypeAttributeDescription
url *

public itemError(url: *) source

Params:

NameTypeAttributeDescription
url *

public itemStart(url: *) source

Params:

NameTypeAttributeDescription
url *

public removeHandler(regex: *): * source

Params:

NameTypeAttributeDescription
regex *

Return:

*

public resolveURL(url: *): * source

Params:

NameTypeAttributeDescription
url *

Return:

*

public setURLModifier(transform: *): * source

Params:

NameTypeAttributeDescription
transform *

Return:

*