Class LoadQueue

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(useXHR?: boolean, basePath?: string, crossOrigin?: string): LoadQueue

Parameters

  • useXHR?: boolean optional
  • basePath?: string optional
  • crossOrigin?: string optional

Returns

LoadQueue

constructor(useXHR?: boolean, basePath?: string, crossOrigin?: boolean): LoadQueue

Parameters

  • useXHR?: boolean optional
  • basePath?: string optional
  • crossOrigin?: boolean optional

Returns

LoadQueue

Properties

public static BINARY: string

public static CSS: string

public static IMAGE: string

public static JAVASCRIPT: string

public static JSON: string

public static JSONP: string

public static MANIFEST: string

public static SOUND: string

public static SVG: string

public static TEXT: string

public static XML: string

public canceled: boolean

public static loadTimeout: number

public loaded: boolean

public maintainScriptOrder: boolean

public next: LoadQueue

public progress: number

public stopOnError: boolean

public useXHR: boolean

Methods

public addEventListener(type: string, listener: (eventObj: Object) => boolean, useCapture?: boolean): Function

Parameters

  • type: string
  • listener: (eventObj: Object) => boolean
  • useCapture?: boolean optional

Returns

Function

public addEventListener(type: string, listener: (eventObj: Object) => void, useCapture?: boolean): Function

Parameters

  • type: string
  • listener: (eventObj: Object) => void
  • useCapture?: boolean optional

Returns

Function

public addEventListener(type: string, listener: { handleEvent: (eventObj: Object) => boolean; }, useCapture?: boolean): Object

Parameters

  • type: string
  • listener: { handleEvent: (eventObj: Object) => boolean; }
  • useCapture?: boolean optional

Returns

Object

public addEventListener(type: string, listener: { handleEvent: (eventObj: Object) => void; }, useCapture?: boolean): Object

Parameters

  • type: string
  • listener: { handleEvent: (eventObj: Object) => void; }
  • useCapture?: boolean optional

Returns

Object

public buildPath(src: string, data?: Object): string

Parameters

  • src: string
  • data?: Object optional

Returns

string

public close()

public dispatchEvent(eventObj: Object, target?: Object): boolean

Parameters

  • eventObj: Object
  • target?: Object optional

Returns

boolean

public dispatchEvent(eventObj: string, target?: Object): boolean

Parameters

  • eventObj: string
  • target?: Object optional

Returns

boolean

public dispatchEvent(eventObj: createjs.Event, target?: Object): boolean

Parameters

  • eventObj: createjs.Event
  • target?: Object optional

Returns

boolean

public getItem(value: string): Object

Parameters

  • value: string

Returns

Object

public getResult(value: string, rawResult?: boolean): Object

Parameters

  • value: string
  • rawResult?: boolean optional

Returns

Object

public hasEventListener(type: string): boolean

Parameters

  • type: string

Returns

boolean

public installPlugin(plugin: any)

Parameters

  • plugin: any

public load()

public loadFile(file: Object, loadNow?: boolean, basePath?: string)

Parameters

  • file: Object
  • loadNow?: boolean optional
  • basePath?: string optional

public loadFile(file: string, loadNow?: boolean, basePath?: string)

Parameters

  • file: string
  • loadNow?: boolean optional
  • basePath?: string optional

public loadManifest(manifest: Object, loadNow?: boolean, basePath?: string)

Parameters

  • manifest: Object
  • loadNow?: boolean optional
  • basePath?: string optional

public loadManifest(manifest: string, loadNow?: boolean, basePath?: string)

Parameters

  • manifest: string
  • loadNow?: boolean optional
  • basePath?: string optional

public loadManifest(manifest: Array<any>, loadNow?: boolean, basePath?: string)

Parameters

  • manifest: Array<any>
  • loadNow?: boolean optional
  • basePath?: string optional

public off(type: string, listener: (eventObj: Object) => boolean, useCapture?: boolean)

Parameters

  • type: string
  • listener: (eventObj: Object) => boolean
  • useCapture?: boolean optional

public off(type: string, listener: (eventObj: Object) => void, useCapture?: boolean)

Parameters

  • type: string
  • listener: (eventObj: Object) => void
  • useCapture?: boolean optional

public off(type: string, listener: { handleEvent: (eventObj: Object) => boolean; }, useCapture?: boolean)

Parameters

  • type: string
  • listener: { handleEvent: (eventObj: Object) => boolean; }
  • useCapture?: boolean optional

public off(type: string, listener: { handleEvent: (eventObj: Object) => void; }, useCapture?: boolean)

Parameters

  • type: string
  • listener: { handleEvent: (eventObj: Object) => void; }
  • useCapture?: boolean optional

public off(type: string, listener: Function, useCapture?: boolean)

Parameters

  • type: string
  • listener: Function
  • useCapture?: boolean optional

public on(type: string, listener: (eventObj: Object) => boolean, scope?: Object, once?: boolean, data?: any, useCapture?: boolean): Function

Parameters

  • type: string
  • listener: (eventObj: Object) => boolean
  • scope?: Object optional
  • once?: boolean optional
  • data?: any optional
  • useCapture?: boolean optional

Returns

Function

public on(type: string, listener: (eventObj: Object) => void, scope?: Object, once?: boolean, data?: any, useCapture?: boolean): Function

Parameters

  • type: string
  • listener: (eventObj: Object) => void
  • scope?: Object optional
  • once?: boolean optional
  • data?: any optional
  • useCapture?: boolean optional

Returns

Function

public on(type: string, listener: { handleEvent: (eventObj: Object) => boolean; }, scope?: Object, once?: boolean, data?: any, useCapture?: boolean): Object

Parameters

  • type: string
  • listener: { handleEvent: (eventObj: Object) => boolean; }
  • scope?: Object optional
  • once?: boolean optional
  • data?: any optional
  • useCapture?: boolean optional

Returns

Object

public on(type: string, listener: { handleEvent: (eventObj: Object) => void; }, scope?: Object, once?: boolean, data?: any, useCapture?: boolean): Object

Parameters

  • type: string
  • listener: { handleEvent: (eventObj: Object) => void; }
  • scope?: Object optional
  • once?: boolean optional
  • data?: any optional
  • useCapture?: boolean optional

Returns

Object

public remove(idsOrUrls: string)

Parameters

  • idsOrUrls: string

public remove(idsOrUrls: Array<any>)

Parameters

  • idsOrUrls: Array<any>

public removeAll()

public removeAllEventListeners(type?: string)

Parameters

  • type?: string optional

public removeEventListener(type: string, listener: (eventObj: Object) => boolean, useCapture?: boolean)

Parameters

  • type: string
  • listener: (eventObj: Object) => boolean
  • useCapture?: boolean optional

public removeEventListener(type: string, listener: (eventObj: Object) => void, useCapture?: boolean)

Parameters

  • type: string
  • listener: (eventObj: Object) => void
  • useCapture?: boolean optional

public removeEventListener(type: string, listener: { handleEvent: (eventObj: Object) => boolean; }, useCapture?: boolean)

Parameters

  • type: string
  • listener: { handleEvent: (eventObj: Object) => boolean; }
  • useCapture?: boolean optional

public removeEventListener(type: string, listener: { handleEvent: (eventObj: Object) => void; }, useCapture?: boolean)

Parameters

  • type: string
  • listener: { handleEvent: (eventObj: Object) => void; }
  • useCapture?: boolean optional

public removeEventListener(type: string, listener: Function, useCapture?: boolean)

Parameters

  • type: string
  • listener: Function
  • useCapture?: boolean optional

public reset()

public setMaxConnections(value: number)

Parameters

  • value: number

public setPaused(value: boolean)

Parameters

  • value: boolean

public setUseXHR(value: boolean)

Parameters

  • value: boolean

public toString(): string

Returns

string

public willTrigger(type: string): boolean

Parameters

  • type: string

Returns

boolean