| Index: src/site/docs/tutorials/polymer-intro/examples/stopwatch/web/tute_stopwatch.html
|
| diff --git a/src/site/docs/tutorials/polymer-intro/examples/stopwatch/web/tute_stopwatch.html b/src/site/docs/tutorials/polymer-intro/examples/stopwatch/web/tute_stopwatch.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1ce74f3b1d7df7c3ba293d4b02c90c706aab9f1c
|
| --- /dev/null
|
| +++ b/src/site/docs/tutorials/polymer-intro/examples/stopwatch/web/tute_stopwatch.html
|
| @@ -0,0 +1,34 @@
|
| +<!-- Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| + for details. All rights reserved. Use of this source code is governed by a
|
| + BSD-style license that can be found in the LICENSE file.
|
| +-->
|
| +
|
| +<!DOCTYPE html>
|
| +<polymer-element name="tute-stopwatch">
|
| +
|
| + <template>
|
| + <style>
|
| + :host {
|
| + 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>
|
| +
|
| + <script type="application/dart;component=1" src="tute_stopwatch.dart">
|
| + </script>
|
| +
|
| +</polymer-element>
|
|
|