Wijmo UI for the Web
direction Option

Default value: 'normal'

The direction option determines the direction in which items are rated.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijrating("option", "direction");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijrating("option", "direction", newValue);
        
});
Javascript (Specification) 
var direction : string;
Remarks
Options are "normal" and "reversed". The "normal" represents rating from left to right or top to bottom.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijrating jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.