OLD | NEW |
---|---|
(Empty) | |
1 --- | |
Kathy Walrath
2013/10/23 15:41:05
dndfiles/ -> dnd-files/?
(for SEO and consistency
shailentuli
2013/10/23 17:36:57
I'm keeping the naming exactly the same as it is i
| |
2 layout: default | |
3 title: HTML5 Drag and Drop files | |
Kathy Walrath
2013/10/23 15:41:05
files -> Files
shailentuli
2013/10/23 17:36:57
Done.
| |
4 live_example_url: example/index.html | |
5 | |
6 header: | |
7 css: ["/samples/samples.css"] | |
8 --- | |
9 | |
10 ## {{ page.title }} | |
11 | |
12 A port of the Drag and Drop Files example used in the | |
13 [Native HTML5 Drag and Drop](http://www.html5rocks.com/en/tutorials/dnd/basics/) | |
14 article by Eric Bidelman, originally published on HTML5Rocks. | |
15 | |
16 HTML5 Drag and drop (DnD) is event-based way of making an element draggable | |
Kathy Walrath
2013/10/23 15:41:05
is -> is an
shailentuli
2013/10/23 17:36:57
Done.
| |
17 on a page. Native browser support for this feature means faster, more | |
18 responsive web apps. With the DnD APIs, it is possible to drag files from | |
19 the desktop to your web app in the browser window. | |
Kathy Walrath
2013/10/23 15:41:05
This example is a little weird. Is it true that on
shailentuli
2013/10/23 17:36:57
You are correct. I'm moving this under the File AP
| |
20 | |
21 You can open the example in Dart Editor and run it by clicking `index.html`. | |
22 | |
23 Read the | |
24 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/file/dn dfiles). | |
25 | |
26 <iframe class="running-app-frame" | |
27 style="height:500px;width:100%;" | |
28 src="{{page.live_example_url}}"> | |
29 </iframe> | |
30 | |
31 See all [samples](/samples/). | |
OLD | NEW |