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.disabled property

Applies to Windows only

Gets or sets whether the control is disabled. When the control is disabled, the user can't specify a new user rating or modify an existing rating.

Syntax


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


var disabled = rating.disabled;
rating.disabled = disabled;

Property value

Type: Boolean

true if the user is not allowed to change the user rating; otherwise, false. The default value is false.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

Rating

 

 

Show: