SiWidgetInstanceEditorDialogComponent documentation¶
selector
si-widget-instance-editor-dialog
The Dialog component is utilized when editing a widget instance within a dashboard. It dynamically loads and creates the associated widget editor and incorporates it into its content. The dialog component is accountable for interacting with the dashboard and offers options for saving changes or terminating the editing process.
Input Properties¶
Name | Type | Default | Description |
---|---|---|---|
widget | Widget | Input for the widget definition. It is required to retrieve the component factory to instantiate the widget editor. | |
widgetConfig | WidgetConfig | Input for the widget instance configuration. It is used to populate the widget editor. |
Output Properties¶
Name | Type | Description |
---|---|---|
closed ¶ | (undefined | WidgetConfig ) | Emits the edited widget instance configuration if the user confirms by saving, or undefined if the user cancels the dialog. |
editorSetupCompleted ¶ | void | Emits when the editor instantiation is completed. |
widgetConfigChange ¶ | WidgetConfig | Input for the widget instance configuration. It is used to populate the widget editor. |
Types Documentation¶
Widgets describe the entries within the widget catalog and holds all default configuration and factory functionality to instantiate a widget instance, represented as WidgetConfig objects. | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
A WidgetConfig holds the configuration of a widget instance component that is visible on a dashboard. It can be persisted and used to restore a dashboards state. | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Image is used to configure an image to be displayed on a widget instance. | ||||||
---|---|---|---|---|---|---|
|
The Remote Module definition is based on @angular-architects . We take it over into this file to prevent adding a hard dependency. |
---|
ObjectFit configuration options for a widget image. See https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit |
---|
Except where otherwise noted, content on this site is licensed under MIT License.