OLD | NEW |
1 | 1 Polymer({ |
2 Polymer({ | |
3 | 2 |
4 is: 'paper-progress', | 3 is: 'paper-progress', |
5 | 4 |
6 behaviors: [ | 5 behaviors: [ |
7 Polymer.IronRangeBehavior | 6 Polymer.IronRangeBehavior |
8 ], | 7 ], |
9 | 8 |
10 properties: { | 9 properties: { |
11 | 10 |
12 /** | 11 /** |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 61 |
63 _secondaryRatioChanged: function(secondaryRatio) { | 62 _secondaryRatioChanged: function(secondaryRatio) { |
64 this._transformProgress(this.$.secondaryProgress, secondaryRatio); | 63 this._transformProgress(this.$.secondaryProgress, secondaryRatio); |
65 }, | 64 }, |
66 | 65 |
67 _secondaryProgressChanged: function() { | 66 _secondaryProgressChanged: function() { |
68 this.secondaryProgress = this._clampValue(this.secondaryProgress); | 67 this.secondaryProgress = this._clampValue(this.secondaryProgress); |
69 this._setSecondaryRatio(this._calcRatio(this.secondaryProgress) * 100); | 68 this._setSecondaryRatio(this._calcRatio(this.secondaryProgress) * 100); |
70 } | 69 } |
71 | 70 |
72 }); | 71 }); |
73 | |
OLD | NEW |