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

common.testWidget( "slider", {
	defaults: {
		animate: false,
		cancel: "input, textarea, button, select, option",
		classes: {
			"ui-slider": "ui-corner-all",
			"ui-slider-handle": "ui-corner-all",
			"ui-slider-range": "ui-corner-all ui-widget-header"
		},
		delay: 0,
		disabled: false,
		distance: 0,
		max: 100,
		min: 0,
		orientation: "horizontal",
		range: false,
		step: 1,
		value: 0,
		values: null,

		// callbacks
		create: null,
		change: null,
		slide: null,
		start: null,
		stop: null
	}
});

} );