Dela via


Rating.userRating property

Gets or sets the user's rating.

Syntax

<div data-win-control="WinJS.UI.Rating" data-win-options="{ userRating : value}" ></div>
var userRating = rating.userRating;
rating.userRating = userRating;

Property value

Type: Number

An integer greater than or equal to zero, and less than or equal to maxRating. The default value is null.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

Rating