The KIHPanels container for all Panels.

This hosts all Panel derived instances and is able to show them with a specialized method. This method performs an initialisation lazily and one time and can show the Panel repeatedly. Client is the central Katex Input Helper instance.

Constructors

Properties

panelFactory: any
panels: {} = {}

Methods

  • Performs initialization of the requested panel. This is done immediately after construction and can contain asynchronous code.

    Parameters

    • id: string

      the id of the panel

    • OptionalinitialiseSymbolContent: any = null

      a routine of the client to be invoked on successful execution

    Returns Promise<void>

  • Handles orientation changes in Mobile mode. This works for a change from portrait to landscape orientation. The opposite direction can be handled manually by reinvoking the dialog. SOLVED!

    Returns Promise<void>

  • A generic method to instantiate Panels based on the di framework.

    Parameters

    • wndId: any
    • id: string
    • Rest...params: any

    Returns Promise<void>

  • Toggles the state of the panel from OPEN -> CLOSED -> OPEN.

    Parameters

    • id: string

      the id of the panel

    Returns Promise<void>

  • Updates the given panel with the provided parameters. This could be a new tab for the Informations window.

    Parameters

    • id: string

      the id of the panel

    • Rest...params: any[]

      new parameters

    Returns Promise<void>