OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 |
| 3 <!-- Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 4 for details. All rights reserved. Use of this source code is governed by a |
| 5 BSD-style license that can be found in the LICENSE file. --> |
| 6 |
| 7 <html> |
| 8 <head> |
| 9 <meta charset="utf-8"> |
| 10 <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 11 <title>Usage Web Example</title> |
| 12 <style> |
| 13 body { |
| 14 display: flex; |
| 15 flex-direction: column; |
| 16 margin: 15px; |
| 17 color: #555; |
| 18 } |
| 19 |
| 20 .row { |
| 21 margin-top: 1em; |
| 22 } |
| 23 </style> |
| 24 </head> |
| 25 |
| 26 <body> |
| 27 <h3>Usage library example</h3> |
| 28 |
| 29 <input id="ua" type="text" value="UA-55029513-1"> |
| 30 |
| 31 <div class="row"> |
| 32 <button id="foo">Fire 'foo' event</button> |
| 33 |
| 34 <button id="bar">Fire 'bar' event</button> |
| 35 |
| 36 <button id="page">Change page</button> |
| 37 </div> |
| 38 |
| 39 <script type="application/dart" src="example.dart"></script> |
| 40 <script src="packages/browser/dart.js"></script> |
| 41 </body> |
| 42 </html> |
OLD | NEW |