Windows Dev Center

Rating.enableClear property

Applies to Windows only

Gets or sets whether control lets the user clear the rating.

Syntax


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


var enableClear = rating.enableClear;
rating.enableClear = enableClear;

Property value

Type: Boolean

true if the user can clear the rating; otherwise, false. The default value is true.

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:
© 2015 Microsoft