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

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

Issue 1834313003: Remove unneeded files from third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore bower.json files. Created 4 years, 8 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
(Empty)
1
2 <!---
3
4 This README is automatically generated from the comments in these files:
5 iron-pages.html
6
7 Edit those files, and our readme bot will duplicate them over here!
8 Edit this file, and the bot will squash your changes :)
9
10 The bot does some handling of markdown. Please file a bug if it does the wrong
11 thing! https://github.com/PolymerLabs/tedium/issues
12
13 -->
14
15 [![Build Status](https://travis-ci.org/PolymerElements/iron-pages.svg?branch=mas ter)](https://travis-ci.org/PolymerElements/iron-pages)
16
17 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-pages)_
18
19
20 ##&lt;iron-pages&gt;
21
22 `iron-pages` is used to select one of its children to show. One use is to cycle through a list of
23 children "pages".
24
25 Example:
26
27 ```html
28 <iron-pages selected="0">
29 <div>One</div>
30 <div>Two</div>
31 <div>Three</div>
32 </iron-pages>
33
34 <script>
35 document.addEventListener('click', function(e) {
36 var pages = document.querySelector('iron-pages');
37 pages.selectNext();
38 });
39 </script>
40 ```
41
42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698