Hierarchy

Methods

  • Parameters

    • child: HTMLElement | default<HTMLElement>

    Returns any

  • Parameters

    • to: HTMLElement | default<HTMLElement>

    Returns any

  • Returns any

  • Emitted when the close button is pressed in the dialog, or when the close method is called.

    Returns any

  • Parameters

    • reason: "focus" | "mouse"

    Returns any

  • Returns any

  • This event is handled by the GameScreen.

    Returns

    A IterableOf<Dialog> containing sibling dialogs. The list may contain this dialog.

    Returns Iterable<default>

  • Returns any

  • Parameters

    • event: Event

    Returns any

  • Parameters

    • reason: "remove" | "focus" | "mouse"

    Returns any

  • Emitted after all fields decorated with @Save are loaded

    Parameters

    • initial: boolean

    Returns any

  • Emitted when the dialog is moved

    Parameters

    • xDiff: number
    • yDiff: number

    Returns any

  • Fired when the element is first observed. observe() must be called to setup this event.

    Returns any

  • Emitted when the settings button is pressed in the dialog.

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Returns any

  • Returns any

  • Returns any

  • Returns any

  • Returns any

  • Emitted when the dialog is resized

    Parameters

    • wDiff: number
    • hDiff: number

    Returns any

  • Returns any

  • Emitted when the dialog panel changes

    Parameters

    • id: string | number

      The string or number representing the panel that was switched to

    • panel: default<HTMLElement>

      The panel that was switched to

    Returns any

  • Parameters

    • visible: boolean

    Returns any

  • Parameters

    • component: default<HTMLElement>
    • variableName: string

    Returns any

  • Returns

    false to cancel removal.

    Returns boolean | void

Generated using TypeDoc