Index: src/site/samples/dndfiles/example/monitoring.html |
diff --git a/src/site/samples/dndfiles/example/monitoring.html b/src/site/samples/dndfiles/example/monitoring.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f6224352c2b55d16a033c609571f32a95375c56d |
--- /dev/null |
+++ b/src/site/samples/dndfiles/example/monitoring.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+ |
+<!-- |
+ 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. |
+--> |
+ |
+<html> |
+ <head> |
+ <meta charset="utf-8"> |
+ <title>Reading Files Using the File APIs</title> |
+ <link rel="stylesheet" href="dndfiles.css"> |
+ </head> |
+ <body> |
+ <h3>Monitoring the Progress of a Read</h3> |
+ <input type="file" id="files" name="file" /> |
+ <button id="cancel-read">Cancel read</button> |
+ <div id="progress-bar">0%</div> |
+ <script type="application/dart" src="monitoring.dart"></script> |
+ <script src="packages/browser/dart.js"></script> |
+ </body> |
+</html> |