Editar

Partilhar via


StandardControl.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 apps, canvas apps, & portals.

Syntax

getOutputs()

Remarks

The output contains 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
    };
}

Control
Power Apps component framework API reference
Power Apps component framework overview