We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb9826 commit 904797aCopy full SHA for 904797a
demo/demo.js
@@ -2,7 +2,7 @@ $(function(){
2
$("#dial").dial({
3
min: 0,
4
max: 100,
5
- default: 50,
+ value: 50,
6
unitsPerPixel: 0.25,
7
8
imageWidth: 36,
jquery.ui.dial.js
@@ -18,15 +18,15 @@
18
options: {
19
min: -100,
20
21
- default: 0,
+ value: 0,
22
unitsPerPixel: 1,
23
24
numImages: 10,
25
imageWidth: 32
26
},
27
28
_create: function() {
29
- this._value = this.options.default;
+ this._value = this.options.value;
30
this._origValue = this._value;
31
32
var self = this;
0 commit comments