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

Unified Diff: third_party/polymer/polymer-selector/smoke.html

Issue 218583004: Uprev to Polymer 0.2.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@css-shadow
Patch Set: Remove keyboard code from patch. Created 6 years, 9 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
« no previous file with comments | « third_party/polymer/polymer-selector/polymer-selector.html ('k') | third_party/polymer/polymer/.bower.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/polymer/polymer-selector/smoke.html
diff --git a/third_party/polymer/polymer-selector/smoke.html b/third_party/polymer/polymer-selector/smoke.html
deleted file mode 100644
index 730de5521026d2ff1738cca51e5c4cd2bd4f05b2..0000000000000000000000000000000000000000
--- a/third_party/polymer/polymer-selector/smoke.html
+++ /dev/null
@@ -1,98 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Selector</title>
- <script src="../platform/platform.js"></script>
- <link rel="import" href="polymer-selector.html">
-</head>
-<body unresolved>
- <polymer-element name="selector-examples">
- <template>
- <style>
- .list {
- display: block;
- border: 1px solid #ccc;
- border-bottom: none;
- background: #666;
- color: white;
- list-style: none;
- margin: 0;
- padding: 0;
- }
-
- .list > * {
- height: 40px;
- line-height: 40px;
- padding: 0 20px;
- border-bottom: 1px solid #ccc;
- }
-
- .list > *.polymer-selected {
- background: #333;
- }
-
- li {
- height: 30px;
- }
-
- li.polymer-selected:after {
- content: "\2713";
- position: absolute;
- padding-left: 10px;
- }
- </style>
-
- <h2>basic</h2>
- <polymer-selector class="list" selected="0">
- <div>Item 0</div>
- <div>Item 1</div>
- <div>Item 2</div>
- <div>Item 3</div>
- <div>Item 4</div>
- </polymer-selector>
-
- <h2>multi-selection</h2>
- <polymer-selector class="list" selected="{{multiSelected}}" multi>
- <div>Item 0</div>
- <div>Item 1</div>
- <div>Item 2</div>
- <div>Item 3</div>
- <div>Item 4</div>
- </polymer-selector>
-
- <h2>list</h2>
- <polymer-selector target="{{$.list}}" selected="0"></polymer-selector>
- <ul id="list">
- <li>Item 0</li>
- <li>Item 1</li>
- <li>Item 2</li>
- <li>Item 3</li>
- <li>Item 4</li>
- </ul>
-
- <h2>binding of a group of radio buttons to a variable</h2>
- <polymer-selector target="{{$.myForm}}" itemsSelector="input[type=radio]"
- selected="{{color}}" valueattr="value" selectedProperty="checked"
- activateEvent="change"></polymer-selector>
- <form id="myForm">
- <label><input type="radio" name="color" value="red"> Red</label> <br>
- <label><input type="radio" name="color" value="green"> Green</label> <br>
- <label><input type="radio" name="color" value="blue"> Blue</label> <br>
- <p>color = {{color}}</p>
- </form>
-
- </template>
-
- <script>
- Polymer('selector-examples', {
- ready: function() {
- this.multiSelected = [1, 3];
- this.color = 'green';
- }
- });
- </script>
- </polymer-element>
-
- <selector-examples></selector-examples>
-</body>
-</html>
« no previous file with comments | « third_party/polymer/polymer-selector/polymer-selector.html ('k') | third_party/polymer/polymer/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698