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

Default value: true

Determines whether to close the pop-up window when a user presses the ESC key.

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

Reference

options type
wijlightbox jQuery Widget