Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected _data

_data: IResourceManagerManifest<string> = {}

Protected _resources

Accessors

count

  • get count(): number

Methods

Protected _createLoader

add

cemit

  • cemit(type: string, context: any, ...args: any[]): JsonManifest
  • Emit event with specifying a context.

    Parameters

    • type: string

      Event type to emit.

    • context: any

      Context to execute the callback.

    • Rest ...args: any[]

      Argument(s) in callback.

    Returns JsonManifest

cemitAll

  • Emit all events with specifying a context.

    Parameters

    • context: any

      Context to execute the callback.

    • Rest ...args: any[]

      Argument(s) in callback.

    Returns JsonManifest

clear

  • Remove events grouped event type.

    Parameters

    • Optional type: string

      Event type to remove. If it is empty, removes all events.

    Returns JsonManifest

destroyResources

  • destroyResources(): void

emit

  • Emit event.

    Parameters

    • type: string

      Event type to emit.

    • Rest ...args: any[]

      Argument(s) in callback.

    Returns JsonManifest

emitAll

  • Emit all events.

    Parameters

    • Rest ...args: any[]

      Argument(s) in callback.

    Returns JsonManifest

getAsync

off

  • off(type: string, callback: IEmitterDelegate): JsonManifest
  • Unregister event.

    Parameters

    • type: string

      Event type.

    • callback: IEmitterDelegate

      Registered callback.

    Returns JsonManifest

on

  • on(type: string, callback: IEmitterDelegate): JsonManifest
  • Register event.

    Parameters

    • type: string

      Event type.

    • callback: IEmitterDelegate

      Callback when the event fires.

    Returns JsonManifest

once

  • once(type: string, callback: IEmitterDelegate): JsonManifest
  • Register one-time event.

    Parameters

    • type: string

      Event type.

    • callback: IEmitterDelegate

      Callback when the event fires.

    Returns JsonManifest

Generated using TypeDoc