Compartir a través de


Repeater.onitemsloaded event

Raised when the Repeater has finished loading a new set of data. This event is only fired on construction. This event is only raised when the Repeater is constructed or its data source or template changes.

Syntax

<div data-win-control="WinJS.UI.Repeater" data-win-options="{onitemsloaded : handler}" />
function handler(eventInfo) { /* Your code */ }
 
// addEventListener syntax
repeater.addEventListener("itemsloaded", handler);
repeater.removeEventListener("itemsloaded", handler);

Event information

Synchronous No
Bubbles Yes
Cancelable Yes

 

Event handler parameters

  • eventInfo
    Type: CustomEvent**

    An object that contains information about the event.

Requirements

Minimum WinJS version

WinJS 2.0

Namespace

WinJS.UI

See also

Repeater