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

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

DynamicDataProvider.unregisterAvailableSourcesChanged() method

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

Signature:

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

Parameters

Parameter Type Description
callback () => void Function to remove from the registration. Must be the same it was registered with.

Returns:

void

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