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

Side by Side Diff: src/site/docs/tutorials/polymer-intro/examples/stopwatch/web/tute_stopwatch.html

Issue 24269013: first draft of polymer element tutorial (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Created 7 years, 2 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <polymer-element name="tute-stopwatch">
3
4 <template>
5 <style>
6 @host {
7 :scope {
8 background-color: LemonChiffon;
9 text-align: center;
10 display: inline-block;
11 border: solid 1px;
12 padding: 10px 10px 10px 10px;
13 }
14 }
15 </style>
16 <div>
17 <div>
18 {{counter}}
19 </div>
20 <div>
21 <button on-click="start" id="startButton">Start</button>
22 <button on-click="stop" id="stopButton">Stop</button>
23 <button on-click="reset" id="resetButton">Reset</button>
24 </div>
25 </div>
26 </template>
27
28 <script type="application/dart" src="tute_stopwatch.dart">
29 </script>
30
31 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698