aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/spinner/common.js
blob: 9ffc473af2caf6beb1182b6e1f3822db1bc25500 (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/widgets/spinner"
], function( common ) {

common.testWidget( "spinner", {
	defaults: {
		classes: {
			"ui-spinner": "ui-corner-all",
			"ui-spinner-up": "ui-corner-tr",
			"ui-spinner-down": "ui-corner-br"
		},
		culture: null,
		disabled: false,
		icons: {
			down: "ui-icon-triangle-1-s",
			up: "ui-icon-triangle-1-n"
		},
		incremental: true,
		max: null,
		min: null,
		numberFormat: null,
		page: 10,
		step: 1,

		// Callbacks
		change: null,
		create: null,
		spin: null,
		start: null,
		stop: null
	}
} );

} );