Class JsonLoader

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(url: string, crossorigin?: boolean): JsonLoader

Parameters

  • url: string
  • crossorigin?: boolean optional

Returns

JsonLoader

Properties

public baseUrl: string

public crossorigin: boolean

public loaded: boolean

public url: string

Methods

public addEventListener(type: string, listener: (event: PIXI.IEvent) => void): any

Parameters

  • type: string
  • listener: (event: PIXI.IEvent) => void

Returns

any

public dispatchEvent(event: IEvent): any

Parameters

Returns

any

public load()

public removeEventListener(type: string, listener: (event: PIXI.IEvent) => void): any

Parameters

  • type: string
  • listener: (event: PIXI.IEvent) => void

Returns

any