You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+8-4
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Helper library to simplify **HTML5 Drag and Drop** in Dart.
6
6
## Features ##
7
7
* Make any HTML Element `draggable`.
8
8
* Create `dropzones` and connect them with `draggables`.
9
-
* Rearrange elements with `sortable` (similar to jQuery UI Sortable).
9
+
* Rearrange elements with `sortables` (similar to jQuery UI Sortable).
10
10
* Support for `touch events` on touch screen devices.
11
11
* Same functionality and API for IE9+, Firefox, Chrome and Safari.
12
12
* Uses fast native HTML5 Drag and Drop of the browser whenever possible.
@@ -18,6 +18,8 @@ Helper library to simplify **HTML5 Drag and Drop** in Dart.
18
18
See [HTML5 Drag and Drop in action](http://edu.makery.ch/projects/dart-html5-drag-and-drop)
19
19
(with code examples).
20
20
21
+
[](http://edu.makery.ch/projects/dart-html5-drag-and-drop)
22
+
21
23
All examples are also available in the `example` directory on GitHub.
22
24
23
25
## Installation ##
@@ -43,6 +45,7 @@ See the demo page above or the `example` directory to see some live examples
43
45
with code.
44
46
45
47
In general, to make drag and drop work, we will have to do two things:
48
+
46
49
1. Create draggables by installing HTML elements in a `DraggableGroup`.
47
50
2. Create dropzones by installing HTML elements in a `DropzoneGroup`.
48
51
@@ -185,7 +188,7 @@ listen to all their events.
185
188
186
189
#### Sortable Options ####
187
190
In addition to the inherited `DraggableGroup` and `DropzoneGroup` options,
188
-
`SortableGroup`as the following options:
191
+
`SortableGroup`has the following options:
189
192
190
193
```dart
191
194
SortableGroup sortGroup = new SortableGroup();
@@ -202,7 +205,8 @@ sortGroup.isGrid = false;
202
205
```
203
206
204
207
#### Sortable Events ####
205
-
There is one additional event for `SortableGroup`s:
208
+
Next to the inherited `DraggableGroup` and `DropzoneGroup` events
209
+
`SortableGroup` has one additional event:
206
210
207
211
```dart
208
212
SortableGroup sortGroup = new SortableGroup();
@@ -213,7 +217,7 @@ sortGroup.onSortUpdate.listen((SortableEvent event) => print('elements were sort
213
217
214
218
## Thanks and Contributions ##
215
219
I'd like to thank the people who kindly helped me with their answers or put
216
-
some tutorial or code examples online. They've already contributed to this
220
+
some tutorial or code examples online. They've indirectly contributed to this
217
221
project.
218
222
219
223
If you'd like to contribute, you're welcome to report issues or
0 commit comments