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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: src/site/docs/tutorials/polymer-intro/examples/stopwatch/out/web/index.html
diff --git a/src/site/docs/tutorials/polymer-intro/examples/stopwatch/out/web/index.html b/src/site/docs/tutorials/polymer-intro/examples/stopwatch/out/web/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..7c06bfedfc528ee7df6eed1a210291a986654344
--- /dev/null
+++ b/src/site/docs/tutorials/polymer-intro/examples/stopwatch/out/web/index.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html><html><head>
+ <meta charset="utf-8">
+ <title>Stopwatch</title>
+
+ <link rel="stylesheet" href="stopwatch.css">
+
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
+ </head>
+
+ <body><script src="packages/shadow_dom/shadow_dom.debug.js"></script>
+<script src="packages/browser/interop.js"></script>
+<polymer-element name="tute-stopwatch">
+
+ <template>
+ <style>
+ @host {
+ :scope {
+ background-color: LemonChiffon;
+ text-align: center;
+ display: inline-block;
+ border: solid 1px;
+ padding: 10px 10px 10px 10px;
+ }
+ }
+ </style>
+ <div>
+ <div>
+ {{counter}}
+ </div>
+ <div>
+ <button on-click="start" id="startButton">Start</button>
+ <button on-click="stop" id="stopButton">Stop</button>
+ <button on-click="reset" id="resetButton">Reset</button>
+ </div>
+ </div>
+ </template>
+
+
+
+</polymer-element>
+
+ <h1>Stopwatch</h1>
+
+ <tute-stopwatch></tute-stopwatch>
+
+
+
+<script type="application/dart" src="index.html_bootstrap.dart"></script><script src="packages/browser/dart.js"></script></body></html>

Powered by Google App Engine
This is Rietveld 408576698