File: common.js

package info (click to toggle)
jqueryui 1.13.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,916 kB
  • sloc: javascript: 52,482; php: 584; xml: 104; makefile: 76
file content (29 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (7)
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/controlgroup",
	"ui/widgets/checkboxradio",
	"ui/widgets/selectmenu",
	"ui/widgets/button",
	"ui/widgets/spinner"
], function( common ) {

common.testWidget( "controlgroup", {
	defaults: {
		classes: {},
		direction: "horizontal",
		disabled: null,
		items: {
			"button": "input[type=button], input[type=submit], input[type=reset], button, a",
			"checkboxradio": "input[type='checkbox'], input[type='radio']",
			"selectmenu": "select",
			"spinner": ".ui-spinner-input",
			"controlgroupLabel": ".ui-controlgroup-label"
		},
		onlyVisible: true,

		// Callbacks
		create: null
	}
} );

} );