Options
All
  • Public
  • Public/Protected
  • All
Menu

Module u-globals

Index

Variables

components: GlobalComponents

Access to all global Umajin components.

Functions

  • get(name: string): any
  • Get a global Umajin property by name.

    Parameters

    • name: string

    Returns any

  • on(event: EventType, callback: Function): void
  • Listen for a global event, and trigger a callback function when the event happens.

    Parameters

    • event: EventType

      The event to listen for.

    • callback: Function

      Function that is called when the event happens.

    Returns void

  • set(name: string, value: any): void
  • Set a global Umajin property by name.

    Parameters

    • name: string
    • value: any

    Returns void