Skip to content

Commit 4f17fb0

Browse files
committed
#1597: Fix docs for enabling plugins
1 parent 0e4eabf commit 4f17fb0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

plugins/MultiDrag/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Sortable.mount(new MultiDrag());
2424

2525
```js
2626
new Sortable(el, {
27-
multiDrag: false, // Enable the plugin
27+
multiDrag: true, // Enable the plugin
2828
selectedClass: "sortable-selected", // Class name for selected item
2929
multiDragKey: null, // Key that must be down for items to be selected
3030

plugins/OnSpill/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This plugin, when enabled, will cause the dragged item to be reverted to it's or
2828

2929
```js
3030
new Sortable(el, {
31-
revertOnSpill: false, // Enable plugin
31+
revertOnSpill: true, // Enable plugin
3232
// Called when item is spilled
3333
onSpill: function(/**Event*/evt) {
3434
evt.item // The spilled item
@@ -51,7 +51,7 @@ This plugin, when enabled, will cause the dragged item to be removed from the DO
5151

5252
```js
5353
new Sortable(el, {
54-
removeOnSpill: false, // Enable plugin
54+
removeOnSpill: true, // Enable plugin
5555
// Called when item is spilled
5656
onSpill: function(/**Event*/evt) {
5757
evt.item // The spilled item

plugins/Swap/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Sortable.mount(new Swap());
2222

2323
```js
2424
new Sortable(el, {
25-
swap: false, // Enable swap mode
25+
swap: true, // Enable swap mode
2626
swapClass: "sortable-swap-highlight" // Class name for swap item (if swap mode is enabled)
2727
});
2828
```

0 commit comments

Comments
 (0)