aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/resizable/common.js
blob: 822a4db87e94a20aee425753b6cf4ead26e7d6e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
define( [
	"lib/common",
	"ui/resizable"
], function( common ) {

common.testWidget( "resizable", {
	defaults: {
		alsoResize: false,
		animate: false,
		animateDuration: "slow",
		animateEasing: "swing",
		aspectRatio: false,
		autoHide: false,
		cancel: "input, textarea, button, select, option",
		classes: {
			"ui-resizable-se": "ui-icon ui-icon-gripsmall-diagonal-se"
		},
		containment: false,
		delay: 0,
		disabled: false,
		distance: 1,
		ghost: false,
		grid: false,
		handles: "e,s,se",
		helper: false,
		maxHeight: null,
		maxWidth: null,
		minHeight: 10,
		minWidth: 10,
		zIndex: 90,

		// callbacks
		create: null,
		resize: null,
		start: null,
		stop: null
	}
});

} );