updatedProperties

Provides information on what has changed in the updateView method. The information could be change in the property value, component or browser resize event.

Available for

Model-driven and canvas apps

Example

public updateView(context: ComponentFramework.Context<IInputs>): void
{
  // check if thi updateView call ahs update on sampleProperty
  if(context.updateProperties.indexOf("SampleProperty")> -1)
   {
      this._value = context.parameters.sampleProperty.raw;
     }

   // update isFullScreen flag based on the context
   if(-1!== context.updatedProperties.indexOf("fullscreen_open"))
    {
        this._isFullScreen =true;
      }
    else if(-1!== context.updatedProperties.indexOf("fullscreen_open"))
     {
          this._isFullScreen =false;
       }
}

Power Apps component framework API reference
Power Apps component framework overview