Compartir a través de


ListView.pagesToLoad property

[pagesToLoad may be altered or unavailable for releases after Windows 8.1. ]

Gets or sets the number of pages to load when the loadingBehavior property is set to "incremental" and the user scrolls beyond the threshold specified by the pagesToLoadThreshold property.

Syntax

<div 
    data-win-control="WinJS.UI.ListView" 
    data-win-options="{ pagesToLoad : value}" >
</div>
var pagesToLoad = listView.pagesToLoad;
listView.pagesToLoad = pagesToLoad;

Property value

Type: Number

A number greater than 0 that specifies the number of pages to load when the loadingBehavior property is set to "incremental" and the user scrolls beyond the threshold specified by the pagesToLoadThreshold property.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView

loadingBehavior

pagesToLoadThreshold