Wijmo UI for the Web
closeOnOuterClick Option
wijmo.lightbox.wijlightbox Namespace > options type : closeOnOuterClick Option

Default value: true

Determines whether to close the pop-up window when user clicks on the outside of content.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijlightbox("option", "closeOnOuterClick");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijlightbox("option", "closeOnOuterClick", newValue);
        
});
var closeOnOuterClick : boolean;
See Also

Reference

options type
wijlightbox jQuery Widget