setupWidgetEditor Type documentation¶
Function | |||||
|---|---|---|---|---|---|
|
Types 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. | ||||
|---|---|---|---|---|
|
| Factory type that is either a WidgetComponentTypeFactory , FederatedModule , FederatedBridgeModule or WebComponent . |
|---|
| 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. | |||
|---|---|---|---|
|
| Factory configuration for loading widget components from a federated module. Supports both Module Federation and Native Federation patterns for micro-frontend architectures. Use this when the widget component is hosted in a separate, independently deployed application. |
|---|
| Use this when having native federation shell and remote module is using module federation. |
|---|
| The Remote Module definition is based on @angular-architects . We take it over into this file to prevent adding a hard dependency. |
|---|
| Definition is based on @module-federation/enhanced loadRemote options. We take it over into this file to prevent adding a hard dependency. |
|---|
| 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.