sp component base.dynamicproperty.unregister - microsoft/Viva-Connections-Extensibility-Beta GitHub Wiki
Home > @microsoft/sp-component-base > DynamicProperty > unregister
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;| Parameter | Type | Description |
|---|---|---|
| callback | () => void | Callback function to unregister. |
Returns:
void