Rating.tooltipStrings property

Applies to Windows only

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