Düzenle

Aracılığıyla paylaş


ReactControl.getOutputs

It is called by the framework prior to a component receiving the new data. Returns an object based on nomenclature defined in manifest, expecting objects[s] for the property marked as bound.

Available for

Model-driven and canvas apps

Syntax

getOutputs()

Remarks

The output will contain a value for each property with a usage as bound in the manifest. For example, if the manifest has a property named value that has usage as bound, and you want to set that to the local variable myvalue then you should return:

{
    value: myvalue
}

Example

public getOutputs(): IOutputs
{
    return {
        value: this._value
    };
}

React controls & platform libraries (Preview)
ReactControl
Power Apps component framework API reference
Power Apps component framework overview