OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 |
| 3 <!-- |
| 4 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5 for details. All rights reserved. Use of this source code is governed by a |
| 6 BSD-style license that can be found in the LICENSE file. |
| 7 --> |
| 8 |
| 9 <html> |
| 10 <head> |
| 11 <meta charset="utf-8"> |
| 12 <title>Reading Files Using the File APIs</title> |
| 13 <link rel="stylesheet" href="dndfiles.css"> |
| 14 </head> |
| 15 <body> |
| 16 <h3>Using Form Input, Drag and Drop, and Reading Files</h3> |
| 17 <form id="read"> |
| 18 <input type="file" id="files" name="files[]" multiple /> |
| 19 </form> |
| 20 <div id="drop-zone">Drop files here</div> |
| 21 <output id="list"></output> |
| 22 <script type="application/dart" src="dndfiles.dart"></script> |
| 23 <script src="packages/browser/dart.js"></script> |
| 24 </body> |
| 25 </html> |
OLD | NEW |