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.onheadervisibilitychanged event

Applies to Windows and Windows Phone

Raised when the header's visibility property changes.

Syntax


<div data-win-control="WinJS.UI.ListView" data-win-options="{onheadervisibilitychanged : handler}" />


function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
listView.addEventListener("headervisibilitychanged", handler);
listView.removeEventListener("headervisibilitychanged", handler);
 
- or -

listView.onheadervisibilitychanged = handler;


Event information

SynchronousNo
BubblesYes
CancelableNo

 

Event handler parameters

eventInfo

Type: CustomEvent

An object that contains information about the event. The detail property of this object contains the following sub-properties:

detail.visible

true if the header is visible; otherwise, false.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView

 

 

Show: