Wijmo UI for the Web
autoSize Option

Default value: true

A value determines whether to auto-size to keep the original width/height ratio of content.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijlightbox("option", "autoSize");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijlightbox("option", "autoSize", newValue);
        
});
Javascript (Specification) 
var autoSize : boolean;
Example
$("#id").wijlightbox({
     autoSize: false
 });
Browser Compatibility
7
5
5

See Also

Reference

options type
wijlightbox jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.