loadingState property
Collapse the table of content
Expand the table of content

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 WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView

 

 

Show:
© 2017 Microsoft