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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: polymer_1.2.3/bower_components/iron-selector/demo/index.html
diff --git a/polymer_1.2.3/bower_components/iron-selector/demo/index.html b/polymer_1.2.3/bower_components/iron-selector/demo/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..2fa46b2cd987b6986211218120991932ff172aeb
--- /dev/null
+++ b/polymer_1.2.3/bower_components/iron-selector/demo/index.html
@@ -0,0 +1,86 @@
+<!doctype html>
+<!--
+Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
+Code distributed by Google as part of the polymer project is also
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
+-->
+
+<html>
+ <head>
+
+ <title>iron-selector</title>
+
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
+
+ <link rel="import" href="../../paper-styles/demo-pages.html">
+ <link rel="import" href="../iron-selector.html">
+
+ <style is="custom-style">
+
+ iron-selector > * {
+ padding: 8px;
+ }
+
+ .horizontal-section {
+ padding: 0;
+ }
+
+ .iron-selected {
+ background-color: var(--google-blue-500);
+ color: white;
+ }
+
+ </style>
+
+ </head>
+ <body unresolved>
+
+ <div class="horizontal center-justified layout">
+ <div>
+ <h3>Basic</h3>
+ <div class="horizontal-section">
+ <iron-selector selected="0">
+ <div>Item 0</div>
+ <div>Item 1</div>
+ <div>Item 2</div>
+ <div>Item 3</div>
+ <div>Item 4</div>
+ </iron-selector>
+ </div>
+ </div>
+
+ <div>
+ <h3>Multi-select</h3>
+ <div class="horizontal-section">
+ <iron-selector multi selected-values='[0,2]'>
+ <div>Item 0</div>
+ <div>Item 1</div>
+ <div>Item 2</div>
+ <div>Item 3</div>
+ <div>Item 4</div>
+ </iron-selector>
+ </div>
+ </div>
+
+ <div>
+ <h3>Example</h3>
+ <div class="horizontal-section">
+ <iron-selector selected="foo" attr-for-selected="name">
+ <div name="foo">Foo</div>
+ <div name="bar">Bar</div>
+ <div name="baz">Baz</div>
+ <div name="qux">Qux</div>
+ <div name="quux">Quux</div>
+ </iron-selector>
+ </div>
+ </div>
+ </div>
+
+ </body>
+</html>
« 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