Skip to content
This repository was archived by the owner on Oct 23, 2021. It is now read-only.

sp component base.dynamicdataprovider.unregisterpropertychanged

John Nguyen edited this page Apr 22, 2021 · 2 revisions

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

DynamicDataProvider.unregisterPropertyChanged() method

Unregisters a callback for updates when a property is changed in a Dynamic Data source.

Signature:

unregisterPropertyChanged(sourceId: string, propertyId: string, callback: () => void): void;

Parameters

Parameter Type Description
sourceId string Id of the Dynamic Data Source.
propertyId string Id of the property of the source.
callback () => void Function to remove from the registration. Must be the same it was registered with.

Returns:

void

Clone this wiki locally