Passed
Push — master ( 78b380...a2100d )
by Rafael
01:41
created

src/controls/multi-slider/config.js   A

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 32
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 0
c 1
b 0
f 0
nc 1
mnd 0
bc 0
fnc 0
dl 0
loc 32
rs 10
bpm 0
cpm 0
noi 0
1
export default {
2
	defaults: {
3
		control: {
4
			title: 'Universal',
5
			linkable: true,
6
			units: {
7
				default: 'percentage',
8
				enabled: [ 'px', 'percentage', 'em' ]
9
			},
10
			sliders: [
11
				{ name: 'top', label: 'Top', cssProperty: 'border-top-width' },
12
				{ name: 'right', label: 'Right', cssProperty: 'border-right-width' },
13
				{ name: 'bottom', label: 'Bottom', cssProperty: 'border-bottom-width' },
14
				{ name: 'left', label: 'Left', cssProperty: 'border-left-width' }
15
			]
16
		},
17
		slider: {
18
			px: {
19
				min: 0,
20
				max: 100
21
			},
22
			'%': {
23
				min: 0,
24
				max: 100
25
			},
26
			em: {
27
				min: 0.1,
28
				max: 5
29
			}
30
		}
31
	}
32
};
33