Index: third_party/polymer/components-chromium/paper-progress/paper-progress-extracted.js |
diff --git a/third_party/polymer/components-chromium/paper-progress/paper-progress-extracted.js b/third_party/polymer/components-chromium/paper-progress/paper-progress-extracted.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..afff824d4125baa606314a9b1f4896d8b3b8e4d2 |
--- /dev/null |
+++ b/third_party/polymer/components-chromium/paper-progress/paper-progress-extracted.js |
@@ -0,0 +1,28 @@ |
+ |
+ |
+ Polymer('paper-progress', { |
+ |
+ /** |
+ * The number that represents the current secondary progress. |
+ * |
+ * @attribute secondaryProgress |
+ * @type number |
+ * @default 0 |
+ */ |
+ secondaryProgress: 0, |
+ |
+ step: 0, |
+ |
+ observe: { |
+ 'value secondaryProgress min max': 'update' |
+ }, |
+ |
+ update: function() { |
+ this.super(); |
+ this.secondaryProgress = this.clampValue(this.secondaryProgress); |
+ this.secondaryRatio = this.calcRatio(this.secondaryProgress) * 100; |
+ } |
+ |
+ }); |
+ |
+ |