aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectable/common.js
blob: 9a14e6df57cfe15c852abead678aed75a8a29881 (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
define( [
	"lib/common",
	"ui/selectable"
], function( common ) {

common.testWidget( "selectable", {
	defaults: {
		appendTo: "body",
		autoRefresh: true,
		cancel: "input, textarea, button, select, option",
		classes: {},
		delay: 0,
		disabled: false,
		distance: 0,
		filter: "*",
		tolerance: "touch",

		// callbacks
		create: null,
		selected: null,
		selecting: null,
		start: null,
		stop: null,
		unselected: null,
		unselecting: null
	}
});

} );