Windows Dev Center

ILayoutSite.scrollbarPos property

Applies to Windows only

This API is no longer supported. Starting with the Windows Library for JavaScript 2.0 Preview, use a the ILayoutSite2 interface. Gets the current scroll bar position.

Syntax


var scrollbarPos = iLayoutSite.scrollbarPos;

Property value

Type: Integer

The current scroll bar position. If the ILayout is horizontal, this is an x-coordinate value. Otherwise, this is a y-coordinate value.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

See also

ILayoutSite

 

 

Show:
© 2015 Microsoft