OLD | NEW |
(Empty) | |
| 1 --- |
| 2 layout: default |
| 3 title: Working with the Files API |
| 4 live_example_url: example/index.html |
| 5 |
| 6 header: |
| 7 css: ["/samples/samples.css"] |
| 8 --- |
| 9 |
| 10 ## {{ page.title }} |
| 11 |
| 12 A Dart port of the Files API examples used in the |
| 13 [Reading files in JavaScript using the File APIs](http://www.html5rocks.com/en/t
utorials/file/dndfiles/) |
| 14 article by Eric Bidelman, originally published on HTML5Rocks. |
| 15 |
| 16 The examples show how to select a file using a form input, or using drag and |
| 17 drop. See how you can slice a file in separate byte range |
| 18 chunks for efficient uploading, and monitor progress while uploading a file. |
| 19 |
| 20 Read the |
| 21 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/file/dn
dfiles). |
| 22 |
| 23 <iframe class="running-app-frame" |
| 24 style="height:500px;width:100%;" |
| 25 src="{{page.live_example_url}}"> |
| 26 </iframe> |
| 27 |
| 28 See all [samples](/samples/). |
OLD | NEW |