Class ContainerBaseAbstract

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

Hierarchy

Constructors

Properties

globalShortcut: GlobalShortcutManager

Register/unregister global keyboard shortcut with the operating system.

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

  • Parameters

    • Optional excludeSelf: boolean

    Returns Promise<void>

  • 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>

  • 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