Condividi tramite


Repeater.onitemsreloaded event

Raised after the Repeater control's underlying data has been updated and after the updated HTML has been reloaded.

Syntax

<div 
    data-win-control="WinJS.UI.Repeater" 
    data-win-options="{onitemsreloaded : handler}">
</div>
function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
repeater.addEventListener("itemsreloaded", handler);
repeater.removeEventListener("itemsreloaded", 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:

detail.affectedElements

The DOM elements that will be updated.

Requirements

Minimum WinJS version

WinJS 2.0

Namespace

WinJS.UI

See also

Repeater