Wijmo UI for the Web
totalValue Option
wijmo.rating.wijrating Namespace > options type : totalValue Option

Default value: 5

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

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijrating("option", "totalValue");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijrating("option", "totalValue", newValue);
        
});
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.
See Also

Reference

options type
wijrating jQuery Widget