Aracılığıyla paylaş


Repeater.template property

Gets or sets a WinJS.Binding.Template or custom rendering function that defines the HTML of each item within the Repeater.

Syntax

<div 
    data-win-control="WinJS.UI.Repeater" 
    data-win-options="{ template : value}" >
</div>
var template = repeater.template;
repeater.template = template;

Property value

Type: WinJS.Binding.Template**

A WinJS.Binding.Template or a custom rendering function that defines the HTML of each item within the Repeater.

Requirements

Minimum WinJS version

WinJS 2.0

Namespace

WinJS.UI

See also

Repeater