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

Side by Side 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: fix pubspecs 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <link rel="import" href="td_input.html">
2 <polymer-element name="td-item" extends="li" attributes="item editing"
3 on-blur="{{commitAction}}">
4 <template>
5 <link rel="stylesheet" href="td_item.css">
6 <div class="view {{ {'completed': item.completed, 'editing': editing} }}"
7 hidden?="{{editing}}" on-dblclick="{{editAction}}">
8 <input type="checkbox" class="toggle" checked="{{item.completed}}"
9 on-click="{{itemChangeAction}}">
10 <label>{{item.title}}</label>
11 <button class="destroy" on-click="{{destroyAction}}"></button>
12 </div>
13 <input is="td-input" id="edit" class="edit" value="{{item.title}}"
14 hidden?="{{!editing}}" on-td-input-commit="{{commitAction}}"
15 on-td-input-cancel="{{cancelAction}}">
16 </template>
17 <script type="application/dart" src="td_item.dart"></script>
18 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698