Wijmo UI for the Web
orientation Option

Default value: 'horizontal'

The orientation option determines whether the wijslider is positioned horizontally or vertically.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijslider("option", "orientation");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijslider("option", "orientation", newValue);
        
});
Javascript (Specification) 
var orientation : string;
Remarks
If the slider is positioned horizontally, then the min value will be at the left and the max value will be at the right. If the slider is positioned vertically, then the min value is at the bottom and the max value is at the top of the widget. By default, the widget's orientation is horizontal.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijslider jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.