Windows Dev Center

EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

Rating.averageRating property

Applies to Windows only

Gets or sets the average rating.

Syntax


<div data-win-control="WinJS.UI.Rating" data-win-options="{ averageRating : value}" ></div>


var averageRating = rating.averageRating;
rating.averageRating = averageRating;

Property value

Type: Number

A float greater than or equal to zero and less than or equal to the maxRating.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

Rating

 

 

Anzeigen:
© 2015 Microsoft