File

context-dashboard/context-dashboard.model.ts

Index

Properties

Indexable

[key: string]: any

Any other information that should be stored here.

Properties

config
config: literal type
Type : literal type
Optional

Whatever should be added to the configuration when a widget is created.

device
device: literal type
Type : literal type
Optional

The selected device or group (note: naming is inconsistent as group was added later but must stay for already implemented widgets)

displaySettings
displaySettings: WidgetDisplaySettings
Type : WidgetDisplaySettings
Optional

Settings that are injected in any displaying component.

export
export: function
Type : function
Optional

Method to export the widget configuration during dashboard export to a json file. It enhances the configuration with additional data that can be used later by the import method to restore the widget configuration in a new context.

hideTarget
hideTarget: boolean
Type : boolean
Optional

Hides the asset-selector tab in the widget configuration. This is useful for device-type dashboards where the user should not be able to select a device.

import
import: function
Type : function
Optional

Method to import the widget configuration during dashboard import from a json file. It restores the widget configuration with data exported by the export method.

settings
settings: WidgetSettings
Type : WidgetSettings
Optional

Settings that define how the default config component is displayed. They are static and will not be saved.

results matching ""

    No results matching ""