Freigeben über


Rating.maxRating property

Gets or sets the maximum possible rating value.

Syntax

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

Property value

Type: Number

An integer greater than zero that specifies the maximum possible rating. The default value is 5.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

Rating