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

Unified Diff: samples/third_party/todomvc/web/elements/td_item.html

Issue 60353013: Update TodoMVC based on https://github.com/polymer/todomvc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged Created 7 years, 1 month 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: samples/third_party/todomvc/web/elements/td_item.html
diff --git a/samples/third_party/todomvc/web/elements/td_item.html b/samples/third_party/todomvc/web/elements/td_item.html
new file mode 100644
index 0000000000000000000000000000000000000000..8d5dd0d321810ab9d6c5ecc550e5bb66ccd71c67
--- /dev/null
+++ b/samples/third_party/todomvc/web/elements/td_item.html
@@ -0,0 +1,17 @@
+<link rel="import" href="td_input.html">
+<polymer-element name="td-item" extends="li" on-blur="{{commitAction}}">
+ <template>
+ <link rel="stylesheet" href="td_item.css">
+ <div class="view {{ {'completed': item.completed, 'editing': editing} }}"
+ hidden?="{{editing}}" on-dblclick="{{editAction}}">
+ <input type="checkbox" class="toggle" checked="{{item.completed}}"
+ on-click="{{itemChangeAction}}">
+ <label>{{item.title}}</label>
+ <button class="destroy" on-click="{{destroyAction}}"></button>
+ </div>
+ <input is="td-input" id="edit" class="edit" value="{{item.title}}"
+ hidden?="{{!editing}}" on-td-input-commit="{{commitAction}}"
+ on-td-input-cancel="{{cancelAction}}">
+ </template>
+ <script type="application/dart" src="td_item.dart"></script>
+</polymer-element>
« no previous file with comments | « samples/third_party/todomvc/web/elements/td_item.dart ('k') | samples/third_party/todomvc/web/elements/td_model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698