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

Unified Diff: samples/third_party/todomvc/web/lib-elements/polymer_selector.html

Issue 182193002: [polymer] interop with polymer-element and polymer.js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « samples/third_party/todomvc/web/lib-elements/polymer_selector.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/todomvc/web/lib-elements/polymer_selector.html
diff --git a/samples/third_party/todomvc/web/lib-elements/polymer_selector.html b/samples/third_party/todomvc/web/lib-elements/polymer_selector.html
deleted file mode 100644
index 854ff61a3840c1a2e635e68691f825bdfc2483a2..0000000000000000000000000000000000000000
--- a/samples/third_party/todomvc/web/lib-elements/polymer_selector.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!--
-Copyright 2013 The Polymer Authors. All rights reserved.
-Use of this source code is governed by a BSD-style
-license that can be found in the LICENSE file.
--->
-<!--
-/**
- * polymer-selector is used to display a list of elements that can be selected.
- * The attribute "selected" indicates which element is being selected.
- * Tapping on the element to change selection would fire "polymer-activate"
- * event.
- *
- * Example:
- *
- * <polymer-selector selected="0" on-polymer-activate="{{activateAction}}">
- * <div>Item 1</div>
- * <div>Item 2</div>
- * <div>Item 3</div>
- * </polymer-selector>
- *
- * polymer-selector is not styled. So one needs to use "selected" CSS class
- * to style the selected element.
- *
- * <style>
- * .item.polymer-selected {
- * background: #eee;
- * }
- * </style>
- * ...
- * <polymer-selector>
- * <div class="item">Item 1</div>
- * <div class="item">Item 2</div>
- * <div class="item">Item 3</div>
- * </polymer-selector>
- */
--->
-<link rel="import" href="polymer_selection.html">
-
-<polymer-element name="polymer-selector" on-tap="{{activateHandler}}"
- touch-action="none">
- <template>
- <polymer-selection id="selection" multi="{{multi}}"
- on-polymer-select="{{selectionSelect}}"></polymer-selection>
- <content id="items" select="*"></content>
- </template>
- <script type="application/dart" src="polymer_selector.dart"></script>
-</polymer-element>
« no previous file with comments | « samples/third_party/todomvc/web/lib-elements/polymer_selector.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698