Class WebContainerBaseAbstract

Represents a common Container to be used as a base for any custom web based implementation.

Hierarchy

Constructors

Properties

globalShortcut: GlobalShortcutManager

Register/unregister global keyboard shortcut with the operating system.

globalWindow: Window
hostType: string

Display type of current Container.

Retrieve information about screen size and displays.

storage: Storage = ...

Persistent storage

uuid: string = ...

Unique v4 GUID for this Container instance

layoutsPropertyKey: string = "desktopJS-layouts"
windowOptionsPropertyKey: string = "desktopJS-options"

Accessors

Methods

  • Returns an absolute url

    Returns

    An absolute url

    Parameters

    • url: string

      url

    Returns string

  • Write a log message

    Parameters

    • level: "error" | "debug" | "info" | "warn"

      The log level for the entry

    • message: string

      The log message text

    Returns Promise<void>

  • Parameters

    • open: ((...args: any[]) => Window)
        • (...args: any[]): Window
        • Parameters

          • Rest ...args: any[]

          Returns Window

    • Rest ...args: any[]

    Returns Window

  • Display a notification.

    Parameters

    • title: string

      Defines a title for the notification. Depending on container and choice of notification mechanism, this might not be shown.

    • Optional options: NotificationOptions

      Notification options.

    Returns void