Debian Codegraph @

tests/unit/dialog/common-deprecated.js

raw symbols SCIP
1 define( [
2 "lib/common",
3 "ui/widgets/dialog"
4 ], function( common ) {
5
6 common.testWidget( "dialog", {
7 defaults: {
8 appendTo: "body",
9 autoOpen: true,
10 buttons: [],
11 classes: {
12 "ui-dialog": "ui-corner-all",
13 "ui-dialog-titlebar": "ui-corner-all"
14 },
15 closeOnEscape: true,
16 closeText: "Close",
17 dialogClass: "",
18 disabled: false,
19 draggable: true,
20 height: "auto",
21 hide: null,
22 maxHeight: null,
23 maxWidth: null,
24 minHeight: 150,
25 minWidth: 150,
26 modal: false,
27 position: {
28 my: "center",
29 at: "center",
30 of: window,
31 collision: "fit",
32 using: $.ui.dialog.prototype.options.position.using
33 },
34 resizable: true,
35 show: null,
36 title: null,
37 uiDialogTitleHeadingLevel: 0,
38 width: 300,
39
40 // Callbacks
41 beforeClose: null,
42 close: null,
43 create: null,
44 drag: null,
45 dragStart: null,
46 dragStop: null,
47 focus: null,
48 open: null,
49 resize: null,
50 resizeStart: null,
51 resizeStop: null
52 }
53 } );
54
55 } );