Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Synchronous | No |
Bubbles | Yes |
Cancelable | No |
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.
- detail.visible
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |