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

Unified Diff: third_party/polymer/v1_0/components-chromium/iron-pages/README.md

Issue 1468623004: Update Polymer from 1.2.1 -> 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@travis-yml
Patch Set: local-state.html Created 5 years, 1 month 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-pages/README.md
diff --git a/third_party/polymer/v1_0/components-chromium/iron-pages/README.md b/third_party/polymer/v1_0/components-chromium/iron-pages/README.md
index 716ccc396fbeeedc6309dfb929becbc0b2a181a0..0ff9a5b38998024c6ed6df64c91afdc81f616197 100644
--- a/third_party/polymer/v1_0/components-chromium/iron-pages/README.md
+++ b/third_party/polymer/v1_0/components-chromium/iron-pages/README.md
@@ -1,22 +1,38 @@
-iron-pages
-==========
+
+<!---
+
+This README is automatically generated from the comments in these files:
+iron-pages.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-pages.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-pages)
+
+_[Demo and API Docs](https://elements.polymer-project.org/elements/iron-pages)_
+
+
+##&lt;iron-pages&gt;
+
`iron-pages` is used to select one of its children to show. One use is to cycle through a list of
children "pages".
Example:
-```html
-<iron-pages selected="0">
- <div>One</div>
- <div>Two</div>
- <div>Three</div>
-</iron-pages>
-
-<script>
- document.addEventListener('click', function(e) {
- var pages = document.querySelector('iron-pages');
- pages.selectNext();
- });
-</script>
-```
+ <iron-pages selected="0">
+ <div>One</div>
+ <div>Two</div>
+ <div>Three</div>
+ </iron-pages>
+
+ <script>
+ document.addEventListener('click', function(e) {
+ var pages = document.querySelector('iron-pages');
+ pages.selectNext();
+ });
+ </script>
+
+

Powered by Google App Engine
This is Rietveld 408576698