Condividi tramite


Repeater.length property

Gets the number of items in the Repeater control.

Syntax

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

Property value

Type: Number

The number of items in the Repeater control.

Requirements

Minimum WinJS version

WinJS 2.0

Namespace

WinJS.UI

See also

Repeater