mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
add test for dialog using array of ButtonOptions
This commit is contained in:
@@ -1438,6 +1438,7 @@ function test_dialog() {
|
||||
});
|
||||
$(".selector").dialog({ autoOpen: false });
|
||||
$(".selector").dialog({ buttons: { Ok: function () { $(this).dialog("close"); } } });
|
||||
$(".selector").dialog({ buttons: [ { text: "Ok", click: function () { $(this).dialog("close"); } } ] } );
|
||||
$(".selector").dialog({ closeOnEscape: false });
|
||||
$(".selector").dialog({ closeText: "hide" });
|
||||
$(".selector").dialog({ dialogClass: "alert" });
|
||||
|
||||
Reference in New Issue
Block a user