aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/spinner/common.js
blob: 2c40df76abb5dfb88a1e35382c49134cc4037dcf (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/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
	}
});

} );