Wijmo UI for the Web
totalValue Field

Default value: 5

An option that determines the total value of the rating widget.

Syntax
Javascript (Usage) 
var value; // Type: number
value = jQuery.wijmo.wijrating.options.totalValue;
Javascript (Specification) 
var totalValue : number;
Remarks
For example, in a rating widget with 5 stars the count is 5. A split of 2 means that each star is split into two parts. If the totalValue of the stars is 100, then each part of the split star has a value of 10 and each whole star has a value of 20. The step can be represented by this equation: 100/(5 * 2) = 10 and the value of one star can be represented by this equation: 10*(1 * 2) = 20.
Browser Compatibility
7
5
5

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.