OLD | NEW |
(Empty) | |
| 1 --- |
| 2 layout: default |
| 3 title: HTML5 Drag and Drop |
| 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 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 an event-based way of making an element draggable |
| 17 on a page. Native browser support for this feature means faster, more |
| 18 responsive web apps. |
| 19 |
| 20 Read the |
| 21 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/dnd/bas
ics). |
| 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 |