Compartir a través de


Rating.disabled property

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