Wijmo UI for the Web
modal Option

Default value: false

If set to true, the dialog will have modal behavior; other items on the page will be disabled, i.e., cannot be interacted with. Modal dialogs create an overlay below the dialog but above other page elements.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijdialog("option", "modal");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijdialog("option", "modal", newValue);
        
});
Javascript (Specification) 
var modal : boolean;
Browser Compatibility
7
5
5

See Also

Reference

options type
wijdialog jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.