Index: polymer_0.5.4/bower_components/paper-slider/paper-slider.html |
diff --git a/polymer_0.5.0/bower_components/paper-slider/paper-slider.html b/polymer_0.5.4/bower_components/paper-slider/paper-slider.html |
similarity index 96% |
copy from polymer_0.5.0/bower_components/paper-slider/paper-slider.html |
copy to polymer_0.5.4/bower_components/paper-slider/paper-slider.html |
index 14381f2cd977c6fa277afdd7973e0726967e9506..0dc2a313886b4143a0b2a592b6d81fc264336128 100644 |
--- a/polymer_0.5.0/bower_components/paper-slider/paper-slider.html |
+++ b/polymer_0.5.4/bower_components/paper-slider/paper-slider.html |
@@ -189,9 +189,17 @@ To change the slider secondary progress bar color: |
* @type number |
* @default 0 |
*/ |
- |
maxMarkers: 100, |
- |
+ |
+ /** |
+ * True when the user is dragging the slider. |
+ * |
+ * @attribute dragging |
+ * @type boolean |
+ * @default false |
+ */ |
+ dragging: false, |
+ |
observe: { |
'step snaps': 'update' |
}, |
@@ -304,7 +312,7 @@ To change the slider secondary progress bar color: |
var ratio = (e.x - rect.left) / this._w; |
this.positionKnob(ratio); |
this.expandJob = this.job(this.expandJob, this.expandKnob, 60); |
- this.fire('change'); |
+ this.asyncFire('change'); |
}, |
knobTransitionEnd: function(e) { |
@@ -324,10 +332,18 @@ To change the slider secondary progress bar color: |
} |
}, |
+ /** |
+ * Increases value by `step` but not above `max`. |
+ * @method increment |
+ */ |
increment: function() { |
this.value = this.clampValue(this.value + this.step); |
}, |
+ /** |
+ * Decreases value by `step` but not below `min`. |
+ * @method decrement |
+ */ |
decrement: function() { |
this.value = this.clampValue(this.value - this.step); |
}, |