Compartilhar via


ListView.onfootervisibilitychanged event

Raised when the footer's visibility property changes.

Syntax

<div data-win-control="WinJS.UI.ListView" data-win-options="{onfootervisibilitychanged : handler}" />
function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
listView.addEventListener("footervisibilitychanged", handler);
listView.removeEventListener("footervisibilitychanged", handler);
 
- or -

listView.onfootervisibilitychanged = 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
      Type: Boolean

      true if the footer is visible; otherwise, false.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ListView