Freigeben über


ListView.loadingState property

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:

Value Condition
"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 WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView