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

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

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh 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-pages 1 iron-pages
2 ========== 2 ==========
3 3
4 See the [component page](http://polymer-project.org/docs/elements/iron-elements. html#iron-pages) for more information. 4 `iron-pages` is used to select one of its children to show. One use is to cycle through a list of
5 children "pages".
6
7 Example:
8
9 ```html
10 <iron-pages selected="0">
11 <div>One</div>
12 <div>Two</div>
13 <div>Three</div>
14 </iron-pages>
15
16 <script>
17 document.addEventListener('click', function(e) {
18 var pages = document.querySelector('iron-pages');
19 pages.selectNext();
20 });
21 </script>
22 ```
OLDNEW
« no previous file with comments | « third_party/polymer/v0_8/components/iron-pages/.gitignore ('k') | third_party/polymer/v0_8/components/iron-pages/bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698