Generates HTML from a set of data. Use this control to generate lists of items.
Creates a new Repeater control.
An object that contains one or more property/value pairs to apply to the new Repeater. Each property of the options object corresponds to one of the object's properties or events. Event names must begin with "on".
Gets or sets the List that provides the Repeater with items to display.
Gets the DOM element that hosts the Repeater.
Gets the number of items in the Repeater control.
Gets or sets a WinJS.Binding.Template or custom rendering function that defines the HTML of each item within the Repeater.
Registers an event handler for the specified event.
The name of the event to handle.
The event handler function to associate with the event.
Set to true to register the event handler for the capturing phase; otherwise, set to false to register the event handler for the bubbling phase.
Raises an event of the specified type and with additional properties.
The type (name) of the event.
The set of additional properties to be attached to the event object when the event is raised.
boolean
true if preventDefault was called on the event, otherwise false.
Releases resources held by this Repeater. Call this method when the Repeater is no longer needed. After calling this method, the Repeater becomes unusable.
Returns the HTML element for the item at the specified index.
The index of the item.
HTMLElement
The DOM element for the specified item.
Raised after an item in the Repeater control's data source changes and after the corresponding DOM element has been updated.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.index, detail.key, detail.newElement, detail.newItem, detail.newValue, detail.oldElement, detail.oldItem, detail.oldValue, detail.setPromise.
Raised after an item in the Repeater control's data source changes but before the corresponding DOM element has been updated.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.index, detail.key, detail.newElement, detail.newItem, detail.newValue, detail.oldElement, detail.oldItem, detail.oldValue, detail.setPromise.
Raised after an item has been added to the Repeater control's data source and after the corresponding DOM element has been added.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.affectedElement, detail.index, detail.key, detail.value.
Raised after an item has been added to the Repeater control's data source but before the corresponding DOM element has been added.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.affectedElement, detail.index, detail.key, detail.value.
Raised after an item has been moved from one index to another in the Repeater control's data source and after the corresponding DOM element has been moved.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.affectedElement, detail.index, detail.key, detail.oldIndex, detail.newIndex.
Raised after an item has been moved from one index to another in the Repeater control's data source but before the corresponding DOM element has been moved.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.affectedElement, detail.index, detail.key, detail.oldIndex, detail.newIndex.
Raised after an item has been moved from one index to another in the Repeater control's data source and after the corresponding DOM element has been moved.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.affectedElement, detail.index, detail.item, detail.setPromise.
Raised after an item has been removed from the Repeater control's data source but before the corresponding DOM element has been removed.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.affectedElement, detail.index, detail.item, detail.setPromise.
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.
An object that contains information about the event.
Raised after the Repeater control's underlying data has been updated and after the updated HTML has been reloaded.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.affectedElements.
Raised after the Repeater control's underlying data has been updated but before the updated HTML has been reloaded.
An object that contains information about the event. The detail property of this object contains the following sub-properties: detail.affectedElements, detail.setPromise.
Removes an event handler that the addEventListener method registered.
The name of the event that the event handler is registered for.
The event handler function to remove.
Set to true to remove the capturing phase event handler; set to false to remove the bubbling phase event handler.