The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ListView.scrollPosition property

Gets or sets the distance, in pixels, of the start of the viewable area within the viewport.
Syntax
<div data-win-control="WinJS.UI.ListView" data-win-options="{ scrollPosition : value}" > </div>
var scrollPosition = listView.scrollPosition;
listView.scrollPosition = scrollPosition;
Property value
Type: Number
A value greater than or equal to 0 that specifies the distance, in pixels, of the start of the viewable area within the viewport.
Requirements
|
Minimum WinJS version |
WinJS 3.0 |
|---|---|
|
Namespace |
WinJS.UI |
See also
Show: