Wijmo UI for the Web
sliderOrientation Option

Default value: 'horizontal'

Determines the orientation of the slider. Possible values are: "vertical" & "horizontal"

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var value; // Type:  string
    value = $(".selector").wijcarousel("option", "sliderOrientation");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijcarousel("option", "sliderOrientation", newValue);
        
});
Javascript (Specification) 
var sliderOrientation : string;
Example
$("#element").wijcarousel( { sliderOrientation: "vertical" } );
Browser Compatibility
7
5
5

See Also

Reference

options type
wijcarousel jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.