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

Side by Side Diff: src/site/docs/tutorials/polymer-intro/examples/stopwatch/out/web/index.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><html><head>
2 <meta charset="utf-8">
3 <title>Stopwatch</title>
4
5 <link rel="stylesheet" href="stopwatch.css">
6
7 <meta name="viewport" content="width=device-width, initial-scale=1, maximum- scale=1, user-scalable=no">
8 </head>
9
10 <body><script src="packages/shadow_dom/shadow_dom.debug.js"></script>
11 <script src="packages/browser/interop.js"></script>
12 <polymer-element name="tute-stopwatch">
13
14 <template>
15 <style>
16 @host {
17 :scope {
18 background-color: LemonChiffon;
19 text-align: center;
20 display: inline-block;
21 border: solid 1px;
22 padding: 10px 10px 10px 10px;
23 }
24 }
25 </style>
26 <div>
27 <div>
28 {{counter}}
29 </div>
30 <div>
31 <button on-click="start" id="startButton">Start</button>
32 <button on-click="stop" id="stopButton">Stop</button>
33 <button on-click="reset" id="resetButton">Reset</button>
34 </div>
35 </div>
36 </template>
37
38
39
40 </polymer-element>
41
42 <h1>Stopwatch</h1>
43
44 <tute-stopwatch></tute-stopwatch>
45
46
47
48 <script type="application/dart" src="index.html_bootstrap.dart"></script><script src="packages/browser/dart.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698