sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Interface DashboardWidgetsAddedEvent Beta

Event triggered when a widget is added to the dashboard, for example by duplicating a widget.

Remarks

A host that owns widgets must apply this event (add the widget, adopt the layout and the widget options) or the widget is dropped on the next props change.

Properties

payload

payload: object

The added widget and where it was placed.

Type declaration

payload.widget

widget: WidgetProps

The added widget, with its persisted id when the dashboard is persisted.

payload.widgetOptions

widgetOptions?: SpecificWidgetOptions

The dashboard-level options of the added widget.

payload.widgetsPanelLayout

widgetsPanelLayout: WidgetsPanelColumnLayout

The widgets panel layout including the added widget.


type

type: "widgets/added"

Event type.

Last Updated: