Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1049)

Unified Diff: polymer_1.2.3/bower_components/iron-iconset-svg/README.md

Issue 1581713003: [third_party] add polymer 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: 1.2.3 Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: polymer_1.2.3/bower_components/iron-iconset-svg/README.md
diff --git a/polymer_1.2.3/bower_components/iron-iconset-svg/README.md b/polymer_1.2.3/bower_components/iron-iconset-svg/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..f5b7e563e34ade8c13d8d6fe8e0aa3564387a7cb
--- /dev/null
+++ b/polymer_1.2.3/bower_components/iron-iconset-svg/README.md
@@ -0,0 +1,50 @@
+
+<!---
+
+This README is automatically generated from the comments in these files:
+iron-iconset-svg.html
+
+Edit those files, and our readme bot will duplicate them over here!
+Edit this file, and the bot will squash your changes :)
+
+-->
+
+[![Build Status](https://travis-ci.org/PolymerElements/iron-iconset-svg.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-iconset-svg)
+
+_[Demo and API Docs](https://elements.polymer-project.org/elements/iron-iconset-svg)_
+
+
+##&lt;iron-iconset-svg&gt;
+
+
+The `iron-iconset-svg` element allows users to define their own icon sets
+that contain svg icons. The svg icon elements should be children of the
+`iron-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:
+
+ <iron-iconset-svg name="my-svg-icons" size="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>
+ </iron-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
+`iron-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');
+
+

Powered by Google App Engine
This is Rietveld 408576698