Index: packages/usage/example/example.html |
diff --git a/packages/usage/example/example.html b/packages/usage/example/example.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..80062914d79ba0634b3dc053728dfd19ba64b5b4 |
--- /dev/null |
+++ b/packages/usage/example/example.html |
@@ -0,0 +1,42 @@ |
+<!DOCTYPE html> |
+ |
+<!-- Copyright (c) 2015, 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. --> |
+ |
+<html> |
+ <head> |
+ <meta charset="utf-8"> |
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
+ <title>Usage Web Example</title> |
+ <style> |
+ body { |
+ display: flex; |
+ flex-direction: column; |
+ margin: 15px; |
+ color: #555; |
+ } |
+ |
+ .row { |
+ margin-top: 1em; |
+ } |
+ </style> |
+ </head> |
+ |
+ <body> |
+ <h3>Usage library example</h3> |
+ |
+ <input id="ua" type="text" value="UA-55029513-1"> |
+ |
+ <div class="row"> |
+ <button id="foo">Fire 'foo' event</button> |
+ |
+ <button id="bar">Fire 'bar' event</button> |
+ |
+ <button id="page">Change page</button> |
+ </div> |
+ |
+ <script type="application/dart" src="example.dart"></script> |
+ <script src="packages/browser/dart.js"></script> |
+ </body> |
+</html> |