Information
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.element property

Applies to Windows and Windows Phone

Gets the Document Object Model (DOM) element that hosts this ListView.

Syntax


var element = listView.element;

Property value

Type: HTMLElement

The DOM element that hosts this ListView. This element is usually a div.

Remarks

Windows 8.1 In previous versions of Windows, calling the focus method on the element brought the group header into view. Starting with Windows 8.1, the focus method scrolls the first item into view.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView

 

 

Show: