Options
Menu

Class LoaderEvent

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Create a new LoaderEvent object.

    Parameters

    • type: string

      The event type.

    • Default value url: string = null

      The url of the loaded resource.

    • Default value content: IAsset = null
    • Default value assets: Array<IAsset> = null

      The assets of the loaded resource.

    Returns LoaderEvent

Properties

target

target: any

Reference to target object

property

target

type

Object

type

type: string

Type of event

property

type

type

String

Static LOAD_COMPLETE

LOAD_COMPLETE: string

Dispatched when the loading of a session and all of its dependencies is complete.

Accessors

assets

  • The error string on loadError.

    Returns IAsset[]

content

  • The content returned if the resource has been loaded inside a Loader object.

    Returns IAsset

url

  • get (): string
  • The url of the loaded resource.

    Returns string

Methods

clone

  • Clones the current event.

    Returns LoaderEvent

    An exact duplicate of the current event.

Generated using TypeDoc