thgreasi / ui-sortable-multiselection

Provide multiple element sorting in UI-Sortable
MIT License
30 stars 12 forks source link

Add multiSelectOnClick to sortable options #25

Closed jmwohl closed 8 years ago

jmwohl commented 8 years ago

This is a minor change which allows for better touch-device support.

If the 'multiSelectOnClick': true option is included in the sortable options, a click on a sortable item will select/deselect, without requiring a modifier key to be held down.

thgreasi commented 8 years ago

Great idea. I will try to review soon. As a side note, in the markdown, the two empty spaces on the end of the lines that describe the types of the options, were there to add a line break. As a result of that removal the types became part of the description paragraph. Please restore them.

jmwohl commented 8 years ago

Cool, thanks.

Sorry about the formatting, I have my editor set to automatically remove extraneous whitespace on save — it's usually, but obviously not always, helpful! I've updated the PR with the whitespace restored.

thgreasi commented 8 years ago

Sorry it took me so long to merge this. Excellent PR! Released as v0.6.0 ! Thanks a lot for your effort on this :+1: :smile: