Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-m1 committed Feb 16, 2020
1 parent 0841ecb commit 69a8000
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,9 @@ <h4 class="col-12">MultiDrag</h4>
</div>
<div style="padding: 0" class="col-12">
<pre class="prettyprint">new Sortable(multiDragDemo, {
multiDrag: true, // Enable multi-drag
selectedClass: 'selected', // The class applied to the selected items
multiDrag: true,
selectedClass: 'selected',
fallbackTolerance: 3, // So that we can select items on mobile
animation: 150
});</pre>
</div>
Expand Down
1 change: 1 addition & 0 deletions st/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ for (var i = 0; i < nestedSortables.length; i++) {
new Sortable(multiDragDemo, {
multiDrag: true,
selectedClass: 'selected',
fallbackTolerance: 3, // So that we can select items on mobile
animation: 150
});

Expand Down

0 comments on commit 69a8000

Please sign in to comment.