메서드에서 변경된 내용에 updateView 대한 정보를 제공합니다. 속성 값, 구성 요소 또는 브라우저 크기 조정 이벤트에서 정보가 변경될 수 있습니다.
형식: string[]
| 배열 값 | 사용할 수 있는 대상 | Description |
|---|---|---|
| layout | 모델 기반 및 캔버스 앱 | 컨트롤의 차원이 업데이트되었습니다. |
| dataset | 모델 기반 및 캔버스 앱 | 레코드가 업데이트되었습니다. |
| 레코드 | 캔버스 앱 | 레코드가 업데이트되었습니다. |
| columns | 캔버스 앱 | 열이 업데이트되었습니다. |
| sortorder | 캔버스 앱 | 정렬 순서가 업데이트되었습니다. |
| page | 캔버스 앱 | 페이지 매김 정보가 업데이트되었습니다. |
| filter | 캔버스 앱 | 필터링이 업데이트되었습니다. |
| commands | 캔버스 앱 | 명령이 업데이트되었습니다. |
또한 데이터 세트 가 로드 중인지 여부를 나타내는 데이터 세트의 로드 특성을 사용합니다.
사용할 수 있는 대상
모델 기반 및 캔버스 앱
Example
public updateView(context: ComponentFramework.Context<IInputs>): void
{
// check if the updateView call has updated the 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 구성 요소 프레임워크 API 참조
Power Apps 구성 요소 프레임워크 개요