Wijmo UI for the Web
closeOnEscape Option
wijmo.dialog.wijdialog Namespace > options type : closeOnEscape Option

Default value: true

Specifies whether the dialog should close when it has focus and the user presses the esacpe (ESC) key.

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

Reference

options type
wijdialog jQuery Widget