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.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: boolean returnsValue = $(".selector").wijdialog("option", "closeOnEscape"); // Set value var newValue; // Type: boolean $(".selector").wijdialog("option", "closeOnEscape", newValue); }); |
Javascript (Specification) | |
---|---|
var closeOnEscape : boolean; |