ListView.loadingState property

Applies to Windows and Windows Phone

Gets a value that indicates whether the ListView is still loading or whether loading is complete.

Syntax


var loadingState = listView.loadingState;

Property value

Type: String

One of the following values:

ValueCondition
"complete"

The ListView has loaded all items, and any animations that might have been playing have finished.

"itemsLoaded"

The ListView has loaded all the items it fetched.

"itemsLoading"

The ListView is loading new items.

"viewportLoaded"

The ListView has finished loading each item in the viewport.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

ListView

 

 

Show:
© 2014 Microsoft