Properties

availableLanguages: string[]

The available languages.

currentWindow: null | CurrentWindow

Current window controll.

documentViewer: DocumentViewer

Document viewer controll.

Methods

  • Returns the currently set language

    Returns string

  • Hides the taskbar. Windows only.

    Returns void

  • Windows which are visible in the taskbar will be minimized.

    Returns void

  • Minimized windows which are visible in the taskbar will be restored.

    Returns void

  • Sets the provided language

    Parameters

    • language: string

      The language to be set.

    Returns void

  • Sets the position and size of the main area.

    Parameters

    • left: number

      The left position of the main area.

    • top: number

      The top position of the main area.

    • width: number

      The width of the main area.

    • height: number

      The height of the main area.

    Returns void

  • Shows the taskbar. Windows only.

    Returns void

Events

  • Registers a callback which will be triggered when the language has changed.

    Parameters

    • callback: ((language: string) => void)

      The callback which will be triggered when the language has changed.

        • (language: string): void
        • Parameters

          • language: string

          Returns void

    Returns EventSubscription

  • Registers a callback which will be triggered when the work area has changed.

    Parameters

    • callback: ((newArea: Rectangle) => void)

      The callback which will be triggered when the work area has changed.

    Returns EventSubscription

Generated using TypeDoc