Rating.disabled property

This topic has not yet been rated - Rate this topic

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

Namespace

WinJS.UI

Library

Base.js

See also

Rating

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.