Compartir a través de


Rating.tooltipStrings property

Gets or sets a set of descriptions to show for rating values in the tooltip.

Syntax

<div data-win-control="WinJS.UI.Rating" data-win-options="{ tooltipStrings : value}" ></div>
var tooltipStrings = rating.tooltipStrings;
rating.tooltipStrings = tooltipStrings;

Property value

Type: Array

An array of strings. The array must contain a number of strings equal to maxRating: a string for each available rating value. You can add an additional string (as the last string in the array) for the clear rating option, which will only be shown if enableClear is set to true. The default value is null.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

Rating