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

sp component base.dynamicdataprovider.registerpropertychanged

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

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

DynamicDataProvider.registerPropertyChanged() method

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

Signature:

registerPropertyChanged(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 execute when the source updates its data.

Returns:

void

Clone this wiki locally