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>Slicing a File</h3> |
| 17 <input type="file" id="files" name="file" /> |
| 18 <span id="read-bytes-buttons"> |
| 19 <button data-startbyte="0" data-endbyte="4">1-5</button> |
| 20 <button data-startbyte="5" data-endbyte="14">6-15</button> |
| 21 <button data-startbyte="6" data-endbyte="7">7-8</button> |
| 22 <button>entire file</button> |
| 23 </span> |
| 24 <div id="byte-range"></div> |
| 25 <div id="byte-content"></div> |
| 26 <script type="application/dart" src="slicing.dart"></script> |
| 27 <script src="packages/browser/dart.js"></script> |
| 28 </body> |
| 29 </html> |
OLD | NEW |