Share via


Rating.enableClear property

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

WinJS 1.0

Namespace

WinJS.UI

See also

Rating