File

core/dynamic-component/dynamic-component.model.ts

Index

Properties

Properties

displaySettings
displaySettings: WidgetDisplaySettingsCore
Type : WidgetDisplaySettingsCore
Optional

Settings that define the context to which the widget is bound. E.g. global time context, global realtime context, global aggregation context.

schema
schema: function
Type : function
Optional

Callback to get the schema for the widget e.g. for widget config JSON validation purposes in runtime. In order to use this feature, schema should contain c8y-schema-loader prefix, interface name as param and path to file where interface is defined to match "c8y-schema-loader?interfaceName=!".

Example :
// schema: () => import('c8y-schema-loader?interfaceName=KpiWidgetConfig!@c8y/ngx-components/widgets/implementations/kpi')

Schema will be generated in build process and will be available in runtime.

settings
settings: WidgetSettings
Type : WidgetSettings
Optional

Settings that are used to configure the widget. They are static and will not be saved.

results matching ""

    No results matching ""