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 or output.

Available for

Model-driven apps and canvas apps (experimental preview)

Syntax

getOutputs()

Remarks

The output will contain a value for each property marked as input-output or bound in the manifest. For example, if the manifest has a property value that is an input-output, and you want to set that to the local variable myvalue you should return:

{
    value: myvalue
}

Example

MyControl.prototype.getOutputs = function () {
    var result = {
        value: this._value
    };
    return result;
};

Control
PowerApps component framework API reference
PowerApps component framework overview