Wijmo UI for the Web
ratingMode Option

Default value: 'continuous'

The ratingMode option determines how the widget performs the rating function. The widget can rate things continuously or singly.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijrating("option", "ratingMode");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijrating("option", "ratingMode", newValue);
        
});
Javascript (Specification) 
var ratingMode : string;
Remarks
Options are "continuous" and "single". The "single" option represents that only one star can be rated, while "continuous" represents that all the stars from first to the rated one will be rated.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijrating jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.