aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectable/common.js
blob: 317fde562bf39fbabde8dc3ed4413d36653384bd (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/widgets/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
	}
});

} );