mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
'title' only seems to be expected for 'bootbox.dialog' in 'bootbox'.
This commit is contained in:
@@ -27,14 +27,12 @@ bootbox.prompt("Enter 'ok' to pass test", function (result) {
|
||||
console.log(result);
|
||||
});
|
||||
bootbox.prompt({
|
||||
title: "Wassup?",
|
||||
message: "Enter 'ok' to pass test", callback: function (result) {
|
||||
console.log(result);
|
||||
}
|
||||
});
|
||||
bootbox.prompt({
|
||||
size: "large",
|
||||
title: "Wassup?",
|
||||
message: "Enter 'ok' to pass test", callback: function (result) {
|
||||
console.log(result);
|
||||
}
|
||||
@@ -42,6 +40,7 @@ bootbox.prompt({
|
||||
|
||||
|
||||
bootbox.dialog({
|
||||
title: "Wassup?",
|
||||
message: "Test Dialog",
|
||||
callback: function (result) { }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user