Index: pkg/polymer/lib/elements/polymer-ui-icon-button/metadata.html |
diff --git a/pkg/polymer/lib/elements/polymer-ui-icon-button/metadata.html b/pkg/polymer/lib/elements/polymer-ui-icon-button/metadata.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..354036a417b30a5465b11c58e77d4191bc589582 |
--- /dev/null |
+++ b/pkg/polymer/lib/elements/polymer-ui-icon-button/metadata.html |
@@ -0,0 +1,64 @@ |
+<x-meta id="polymer-ui-icon-button" label="Polymer Icon Button"> |
+ <!-- |
+ /** |
+ * @module Polymer UI Elements |
+ */ |
+ /** |
+ * polymer-ui-icon-button enables you to place an image centered in a button. |
+ * |
+ * Example: |
+ * |
+ * <polymer-ui-icon-button src="star.png"></polymer-ui-icon-button> |
+ * |
+ * Polymer includes an icon set. The property "icon" can be used |
+ * to specify which icon to use. |
+ * |
+ * Example: |
+ * |
+ * <polymer-ui-icon-button icon="menu"></polymer-ui-icon-button> |
+ * |
+ * @class polymer-ui-icon-button |
+ */ |
+ --> |
+ <template> |
+ <polymer-ui-icon-button icon="menu" theme="polymer-ui-light-theme"></polymer-ui-icon-button> |
+ </template> |
+ <!-- |
+ /** |
+ * The URL of an image for the icon. |
+ * |
+ * @attribute src |
+ * @type string |
+ * @default '' |
+ */ |
+ /** |
+ * If true, border is placed around the button to indicate |
+ * active state. |
+ * |
+ * @attribute active |
+ * @type boolean |
+ * @default false |
+ */ |
+ /** |
+ * Specifies the icon from the Polymer icon set. |
+ * |
+ * @attribute icon |
+ * @type string |
+ * @default '' |
+ */ |
+ --> |
+ <property name="index" hidden="true"></property> |
+ <!-- |
+ /** |
+ * If a theme is applied that includes an icon set, the index of the |
+ * icon to display. |
+ * |
+ * @attribute index |
+ * @type number |
+ * @default -1 |
+ */ |
+ --> |
+ <template id="imports"> |
+ <link rel="import" href="polymer-ui-icon-button.html"> |
+ </template> |
+</x-meta> |