2012-12-09 2 views

답변

1

당신의 daya를 가져 오는 방법이 getData()이라고 가정 해 봅시다. HTML에서 그렇지 않으면

function getData(){ 
var progress = document.createElement("progress"); 
document.getElementById("someDiv").appendChild(progress); //we have created and appended an undetermined progress bar. 
//do the data fetching, and, when it's over and ítems have been asigned to the ListView remove the progress element from the div. 
} 

: 데이터를 받고 약속 사용자 정의 데이터 소스에서 반환 동안 목록보기가 스피너를 표시하도록되어

<progress></progress> 
+1

에 대해 언급합니다. WinJS에서 진행률 컨트롤이 작동하는 방식을 설명하는 좋은 MSDN 자습서가 있습니다. http://msdn.microsoft.com/en-us/library/windows/apps/hh465487.aspx –