wijmo.lightbox.wijlightbox Namespace > options type : autoSize Option |
Default value: true
A value determines whether to auto-size to keep the original width/height ratio of content.
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; |
$("#id").wijlightbox({ autoSize: false });