sp component base.dynamicdataprovider.registeravailablesourceschanged - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki

Home > @microsoft/sp-component-base > DynamicDataProvider > registerAvailableSourcesChanged

DynamicDataProvider.registerAvailableSourcesChanged() method

Registers a callback to an event that raises when the list of available Dynamic Data Sources is updated.

Signature:

registerAvailableSourcesChanged(callback: () => void): void;

Parameters

Parameter Type Description
callback () => void Function to execute when the sources are updated.

Returns:

void

⚠️ **GitHub.com Fallback** ⚠️