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

Side by Side Diff: polymer_1.2.3/bower_components/iron-selector/demo/index.html

Issue 1581713003: [third_party] add polymer 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: 1.2.3 Created 4 years, 11 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 <!doctype html>
2 <!--
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 -->
10
11 <html>
12 <head>
13
14 <title>iron-selector</title>
15
16 <meta charset="utf-8">
17 <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
19 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
20
21 <link rel="import" href="../../paper-styles/demo-pages.html">
22 <link rel="import" href="../iron-selector.html">
23
24 <style is="custom-style">
25
26 iron-selector > * {
27 padding: 8px;
28 }
29
30 .horizontal-section {
31 padding: 0;
32 }
33
34 .iron-selected {
35 background-color: var(--google-blue-500);
36 color: white;
37 }
38
39 </style>
40
41 </head>
42 <body unresolved>
43
44 <div class="horizontal center-justified layout">
45 <div>
46 <h3>Basic</h3>
47 <div class="horizontal-section">
48 <iron-selector selected="0">
49 <div>Item 0</div>
50 <div>Item 1</div>
51 <div>Item 2</div>
52 <div>Item 3</div>
53 <div>Item 4</div>
54 </iron-selector>
55 </div>
56 </div>
57
58 <div>
59 <h3>Multi-select</h3>
60 <div class="horizontal-section">
61 <iron-selector multi selected-values='[0,2]'>
62 <div>Item 0</div>
63 <div>Item 1</div>
64 <div>Item 2</div>
65 <div>Item 3</div>
66 <div>Item 4</div>
67 </iron-selector>
68 </div>
69 </div>
70
71 <div>
72 <h3>Example</h3>
73 <div class="horizontal-section">
74 <iron-selector selected="foo" attr-for-selected="name">
75 <div name="foo">Foo</div>
76 <div name="bar">Bar</div>
77 <div name="baz">Baz</div>
78 <div name="qux">Qux</div>
79 <div name="quux">Quux</div>
80 </iron-selector>
81 </div>
82 </div>
83 </div>
84
85 </body>
86 </html>
OLDNEW
« no previous file with comments | « polymer_1.2.3/bower_components/iron-selector/bower.json ('k') | polymer_1.2.3/bower_components/iron-selector/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698