Rating.userRating property

Applies to Windows only

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

 

 

Show:
© 2014 Microsoft