sp component base.dynamicdataprovider.registeravailablesourceschanged - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki
Home > @microsoft/sp-component-base > DynamicDataProvider > registerAvailableSourcesChanged
Registers a callback to an event that raises when the list of available Dynamic Data Sources is updated.
Signature:
registerAvailableSourcesChanged(callback: () => void): void;| Parameter | Type | Description |
|---|---|---|
| callback | () => void | Function to execute when the sources are updated. |
Returns:
void