Function: bindDataSource()
bindDataSource<
T
,Prop
>(propertyPane
,target
):T
Type parameters
Type parameter |
---|
T extends PropertyBag |
Prop extends string |
Parameters
Parameter | Type | Description |
---|---|---|
propertyPane | IPropertyPane | The property pane to bind the property bag to. |
target | T | The property bag to bind to the pane. |
Returns
T
Remarks
Takes the input object (a property bag of values) and bind it to the pane as a data source. UI child elements of the pane will be updated when the values in the object change, and vice versa.