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

Unified Diff: third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta.html

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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: third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta.html
diff --git a/third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta.html b/third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta.html
index 2ca804b06da8c25d2bb6c4e17426d8d6cc25978b..e6e151e8c58d401ce1e6cd62c15c1558101fa98b 100644
--- a/third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta.html
+++ b/third_party/polymer/v1_0/components-chromium/iron-meta/iron-meta.html
@@ -23,25 +23,25 @@ Examples:
If I create an instance like this:
- <iron-meta key="info" keyUrl="foo/bar"></iron-meta>
+ <iron-meta key="info" value="foo/bar"></iron-meta>
-Note that keyUrl="foo/bar" is the metadata I've defined. I could define more
+Note that value="foo/bar" is the metadata I've defined. I could define more
attributes or use child nodes to define additional metadata.
Now I can access that element (and it's metadata) from any iron-meta instance
via the byKey method, e.g.
- meta.byKey('info').getAttribute('keyUrl').
+ meta.byKey('info').getAttribute('value').
Pure imperative form would be like:
- document.createElement('iron-meta').byKey('info').getAttribute('keyUrl');
+ document.createElement('iron-meta').byKey('info').getAttribute('value');
Or, in a Polymer element, you can include a meta in your template:
<iron-meta id="meta"></iron-meta>
...
- this.$.meta.byKey('info').getAttribute('keyUrl');
+ this.$.meta.byKey('info').getAttribute('value');
@group Iron Elements
@demo demo/index.html

Powered by Google App Engine
This is Rietveld 408576698