Index: third_party/polymer/v0_8/components-chromium/paper-fab/paper-fab-extracted.js |
diff --git a/third_party/polymer/v0_8/components-chromium/paper-icon-button/paper-icon-button-extracted.js b/third_party/polymer/v0_8/components-chromium/paper-fab/paper-fab-extracted.js |
similarity index 52% |
copy from third_party/polymer/v0_8/components-chromium/paper-icon-button/paper-icon-button-extracted.js |
copy to third_party/polymer/v0_8/components-chromium/paper-fab/paper-fab-extracted.js |
index 523fe5099a54475164efb75abd1d894a8f2a63f6..de419bad2d81ebd41ef32a913750290c7f5e332a 100644 |
--- a/third_party/polymer/v0_8/components-chromium/paper-icon-button/paper-icon-button-extracted.js |
+++ b/third_party/polymer/v0_8/components-chromium/paper-fab/paper-fab-extracted.js |
@@ -1,29 +1,51 @@ |
Polymer({ |
- is: 'paper-icon-button', |
+ is: 'paper-fab', |
+ |
+ enableCustomStyleProperties: true, |
behaviors: [ |
Polymer.PaperButtonBehavior |
], |
- enableCustomStyleProperties: true, |
- |
properties: { |
/** |
* The URL of an image for the icon. If the src property is specified, |
* the icon property should not be. |
+ * |
+ * @attribute src |
+ * @type string |
+ * @default '' |
*/ |
src: { |
- type: String |
+ type: String, |
+ value: '' |
}, |
/** |
* Specifies the icon name or index in the set of icons available in |
* the icon's icon set. If the icon property is specified, |
* the src property should not be. |
+ * |
+ * @attribute icon |
+ * @type string |
+ * @default '' |
*/ |
icon: { |
- type: String |
+ type: String, |
+ value: '' |
+ }, |
+ |
+ /** |
+ * Set this to true to style this is a "mini" FAB. |
+ * |
+ * @attribute mini |
+ * @type boolean |
+ * @default false |
+ */ |
+ mini: { |
+ type: Boolean, |
+ value: false |
} |
} |
}); |