Class
This message is used when needing to implement a workflow upon the creation or removal of some data sources. This message carries the changed data sources information. Other widgets may need to subscribe to this message whenever a workflow involves reliance on data sources change.
Implements
Properties
Property | Type | Notes |
---|---|---|
changeType | DataSourcesChangeType | The change type. |
dataSources | DataSource[] | The changed data sources. |
type | MessageType | The message type. |
widgetId | string | The widget id from which the message is sourced. If a widget id is not provided, the message is provided by the Jimu framework. |
changeType
Class PropertychangeType: DataSourcesChangeType
The change type.
dataSources
Class PropertydataSources: DataSource[]
The changed data sources.
type
Class Propertytype: MessageType = MessageType.DataSourcesChange
The message type.