Поделиться через


FlipView.count method

Returns the number of items in the FlipView control's itemDataSource.

Syntax

flipView.count().done( /* Your success and error handlers */ );

Parameters

This method has no parameters.

Return value

Type: Promise**

A Promise that contains the number of items in the list or WinJS.UI.CountResult.unknown if the count is unavailable.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

FlipView

Promise