Index: third_party/polymer/components-chromium/core-iconset-svg/core-iconset-svg.html |
diff --git a/third_party/polymer/components-chromium/core-iconset-svg/core-iconset-svg.html b/third_party/polymer/components-chromium/core-iconset-svg/core-iconset-svg.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..da2d7cf01a11e7d7213a8dfdaeda01b89338a436 |
--- /dev/null |
+++ b/third_party/polymer/components-chromium/core-iconset-svg/core-iconset-svg.html |
@@ -0,0 +1,57 @@ |
+<!-- |
+Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt |
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt |
+Code distributed by Google as part of the polymer project is also |
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt |
+--> |
+ |
+<!-- |
+/** |
+ * @group Polymer Core Elements |
+ * |
+ * The `core-iconset-svg` element allows users to define their own icon sets |
+ * that contain svg icons. The svg icon elements should be children of the |
+ * `core-iconset-svg` element. Multiple icons should be given distinct id's. |
+ * |
+ * Using svg elements to create icons has a few advantages over traditional |
+ * bitmap graphics like jpg or png. Icons that use svg are vector based so they |
+ * are resolution independent and should look good on any device. They are |
+ * stylable via css. Icons can be themed, colorized, and even animated. |
+ * |
+ * Example: |
+ * |
+ * <core-iconset-svg id="my-svg-icons" iconSize="24"> |
+ * <svg> |
+ * <defs> |
+ * <g id="shape"> |
+ * <rect x="50" y="50" width="50" height="50" /> |
+ * <circle cx="50" cy="50" r="50" /> |
+ * </g> |
+ * </defs> |
+ * </svg> |
+ * </core-iconset-svg> |
+ * |
+ * This will automatically register the icon set "my-svg-icons" to the iconset |
+ * database. To use these icons from within another element, make a |
+ * `core-iconset` element and call the `byId` method |
+ * to retrieve a given iconset. To apply a particular icon inside an |
+ * element use the `applyIcon` method. For example: |
+ * |
+ * iconset.applyIcon(iconNode, 'car'); |
+ * |
+ * @element core-iconset-svg |
+ * @extends core-meta |
+ * @homepage github.io |
+ */ |
+--> |
+ |
+<link rel="import" href="../core-iconset/core-iconset.html"> |
+ |
+<polymer-element name="core-iconset-svg" extends="core-meta" attributes="iconSize" assetpath=""> |
+ |
+ |
+ |
+</polymer-element> |
+<script src="core-iconset-svg-extracted.js"></script> |