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

Side by Side Diff: dart/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/webui/clickcounter.html

Issue 331153002: Version 1.5.0-dev.4.13 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <link rel="import" href="packages/polymer/polymer.html">
1 <polymer-element name="click-counter" attributes="count"> 2 <polymer-element name="click-counter" attributes="count">
2 <template> 3 <template>
3 <style> 4 <style>
4 div { 5 div {
5 font-size: 24pt; 6 font-size: 24pt;
6 text-align: center; 7 text-align: center;
7 margin-top: 140px; 8 margin-top: 140px;
8 } 9 }
9 button { 10 button {
10 font-size: 24pt; 11 font-size: 24pt;
11 margin-bottom: 20px; 12 margin-bottom: 20px;
12 } 13 }
13 </style> 14 </style>
14 <div> 15 <div>
15 <button on-click="{{increment}}">Click me</button><br> 16 <button on-click="{{increment}}">Click me</button><br>
16 <span>(click count: {{count}})</span> 17 <span>(click count: {{count}})</span>
17 </div> 18 </div>
18 </template> 19 </template>
19 <script type="application/dart" src="clickcounter.dart"></script> 20 <script type="application/dart" src="clickcounter.dart"></script>
20 </polymer-element> 21 </polymer-element>
21 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698