WidgetInstanceEditor Type documentation¶
An editor component for a widget instance need to implement this interface. After initializing the instance editor component, with widget configuration is set. Optionally, the component can emit changes during editing to control e.g. the dialog behavior like disabling the save button. | ||||
---|---|---|---|---|
|
Types Documentation¶
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. | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Object is used to inform the editor hosting component about configuration changes to configure (e.g. enable/disable) the control buttons accordingly. | |||
---|---|---|---|
|
Image is used to configure an image to be displayed on a widget instance. | ||||||
---|---|---|---|---|---|---|
|
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.