共用方式為


VirtualizedDataSource.statuschanged event

Occurs when the status of the VirtualizedDataSource changes.

Syntax

function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
virtualizedDataSource.addEventListener("statuschanged", handler);
virtualizedDataSource.removeEventListener("statuschanged", handler);

Event information

Synchronous No
Bubbles Yes
Cancelable Yes

 

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:

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

VirtualizedDataSource