You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50-43Lines changed: 50 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,49 +31,56 @@ The roundSlider has several properties and events to interact with the control p
31
31
To know more about the **Options**, please check the [documentation](http://roundsliderui.com/document.html#options"Documentation about roundSlider Options").
32
32
33
33
```javascript
34
-
$("#slider").roundSlider({
35
-
min:0,
36
-
max:100,
37
-
step:1,
38
-
value:null,
39
-
radius:85,
40
-
width:16,
41
-
handleSize:"+0",
42
-
startAngle:0,
43
-
endAngle:"+360",
44
-
animation:true,
45
-
showTooltip:true,
46
-
editableTooltip:true,
47
-
readOnly:false,
48
-
disabled:false,
49
-
keyboardAction:true,
50
-
mouseScrollAction:false,
51
-
sliderType:"default",
52
-
circleShape:"full",
53
-
handleShape:"round",
54
-
lineCap:"butt",
55
-
56
-
// the 'startValue' property decides at which point the slider should start.
57
-
// otherwise, by default the slider starts with min value. this is mainly used
58
-
// for min-range slider, where you can customize the min-range start position.
59
-
startValue:null,
60
-
61
-
// SVG related properties
62
-
svgMode:false,
63
-
borderWidth:1,
64
-
borderColor:null,
65
-
pathColor:null,
66
-
rangeColor:null,
67
-
68
-
// events
69
-
beforeCreate:null,
70
-
create:null,
71
-
start:null,
72
-
drag:null,
73
-
change:null,
74
-
stop:null,
75
-
tooltipFormat:null
76
-
});
34
+
$("#slider").roundSlider({
35
+
min:0,
36
+
max:100,
37
+
step:1,
38
+
value:null,
39
+
radius:85,
40
+
width:16,
41
+
handleSize:"+0",
42
+
startAngle:0,
43
+
endAngle:"+360",
44
+
animation:true,
45
+
showTooltip:true,
46
+
editableTooltip:true,
47
+
readOnly:false,
48
+
disabled:false,
49
+
keyboardAction:true,
50
+
mouseScrollAction:false,
51
+
sliderType:"default",
52
+
circleShape:"full",
53
+
handleShape:"round",
54
+
lineCap:"butt",
55
+
56
+
// the 'startValue' property decides at which point the slider should start.
57
+
// otherwise, by default the slider starts with min value. this is mainly used
58
+
// for min-range slider, where you can customize the min-range start position.
59
+
startValue:null,
60
+
61
+
// SVG related properties
62
+
svgMode:false,
63
+
borderWidth:1,
64
+
borderColor:null,
65
+
pathColor:null,
66
+
rangeColor:null,
67
+
68
+
// events
69
+
beforeCreate:null,
70
+
create:null,
71
+
start:null,
72
+
// 'beforeValueChange' will be triggered before 'valueChange', and it can be cancellable
73
+
beforeValueChange:null,
74
+
drag:null,
75
+
change:null,
76
+
// 'update' event is the combination of 'drag' and 'change'
77
+
update:null,
78
+
// 'valueChange' event is similar to 'update' event, in addition it will trigger
79
+
// even the value was changed through programmatically also.
0 commit comments