Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

Rating

 

 

Show: