aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/sortable/common.js
blob: dd22c04331f1ad2edd785d7f535b2df618afba96 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
define( [
	"lib/common",
	"ui/widgets/sortable"
], function( common ) {

common.testWidget( "sortable", {
	defaults: {
		appendTo: "parent",
		axis: false,
		cancel: "input, textarea, button, select, option",
		classes: {},
		connectWith: false,
		containment: false,
		cursor: "auto",
		cursorAt: false,
		delay: 0,
		disabled: false,
		distance: 1,
		dropOnEmpty: true,
		forcePlaceholderSize: false,
		forceHelperSize: false,
		grid: false,
		handle: false,
		helper: "original",
		items: "> *",
		opacity: false,
		placeholder: false,
		revert: false,
		scroll: true,
		scrollSensitivity: 20,
		scrollSpeed: 20,
		scope: "default",
		tolerance: "intersect",
		zIndex: 1000,

		// Callbacks
		activate: null,
		beforeStop: null,
		change: null,
		create: null,
		deactivate: null,
		out: null,
		over: null,
		receive: null,
		remove: null,
		sort: null,
		start: null,
		stop: null,
		update: null
	}
} );

} );