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

sp component base.dynamicproperty.trygetsource

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

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

DynamicProperty.tryGetSource() method

Returns the DynamicDataSource that the DynamicProperty object refers to. Returns undefined if the source doesn't exist.

Signature:

tryGetSource(): IDynamicDataSource | undefined;

Returns:

IDynamicDataSource | undefined

Clone this wiki locally