Hierarchy

  • Events<default>
    • ICanvasDialogEvents

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

  • 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

  • Parameters

    • order: number

    Returns any

  • Returns any

  • Returns any

  • Emitted when the dialog is moved

    Parameters

    • xDiff: number
    • yDiff: number
    • rectangle: default

    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

  • Returns any

  • Returns any

  • Returns any

  • Returns any

  • Returns any

  • Emitted when the dialog is resized

    Parameters

    • wDiff: number
    • hDiff: number
    • rectangle: default

    Returns any

  • Returns any

  • Parameters

    • id: string
    • oldId: string

    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 any

  • Returns

    false to cancel removal.

    Returns boolean | void

Generated using TypeDoc