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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-meta/README.md

Issue 1162963002: Revert "Rename polymer and cr_elements v0_8 to v1_0" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
1 iron-meta 1 iron-meta
2 ========= 2 =========
3 3
4 `iron-meta` is a generic element you can use for sharing information across the DOM tree. 4 `iron-meta` is a generic element you can use for sharing information across the DOM tree.
5 It uses [monostate pattern](http://c2.com/cgi/wiki?MonostatePattern) such that a ny 5 It uses [monostate pattern](http://c2.com/cgi/wiki?MonostatePattern) such that a ny
6 instance of iron-meta has access to the shared 6 instance of iron-meta has access to the shared
7 information. You can use `iron-meta` to share whatever you want (or create an ex tension 7 information. You can use `iron-meta` to share whatever you want (or create an ex tension
8 [like x-meta] for enhancements). 8 [like x-meta] for enhancements).
9 9
10 The `iron-meta` instances containing your actual data can be loaded in an import , 10 The `iron-meta` instances containing your actual data can be loaded in an import ,
(...skipping 26 matching lines...) Expand all
37 37
38 Or, in a Polymer element, you can include a meta in your template: 38 Or, in a Polymer element, you can include a meta in your template:
39 39
40 ```html 40 ```html
41 <iron-meta id="meta"></iron-meta> 41 <iron-meta id="meta"></iron-meta>
42 ``` 42 ```
43 43
44 ```javascript 44 ```javascript
45 this.$.meta.byKey('info').getAttribute('keyUrl'); 45 this.$.meta.byKey('info').getAttribute('keyUrl');
46 ``` 46 ```
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698