sp component base.dynamicproperty.unregister - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki

Home > @microsoft/sp-component-base > DynamicProperty > unregister

DynamicProperty.unregister() method

Unregisters a callback function for updates on the associated DynamicDataSource. The callback function must be the same it was registered with.

Signature:

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

Parameters

Parameter Type Description
callback () => void Callback function to unregister.

Returns:

void

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