Skip to content

Commit

Permalink
#1597: Fix docs for enabling plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-m1 committed Sep 2, 2019
1 parent 0e4eabf commit 4f17fb0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/MultiDrag/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Sortable.mount(new MultiDrag());

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

Expand Down
4 changes: 2 additions & 2 deletions plugins/OnSpill/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This plugin, when enabled, will cause the dragged item to be reverted to it's or

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

```js
new Sortable(el, {
removeOnSpill: false, // Enable plugin
removeOnSpill: true, // Enable plugin
// Called when item is spilled
onSpill: function(/**Event*/evt) {
evt.item // The spilled item
Expand Down
2 changes: 1 addition & 1 deletion plugins/Swap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Sortable.mount(new Swap());

```js
new Sortable(el, {
swap: false, // Enable swap mode
swap: true, // Enable swap mode
swapClass: "sortable-swap-highlight" // Class name for swap item (if swap mode is enabled)
});
```
Expand Down

0 comments on commit 4f17fb0

Please sign in to comment.